Revert "feat: hide privacy banner for embedded form (#954)" (#955)

This reverts commit f63d7674e2.
This commit is contained in:
Zainab Amir
2023-06-23 10:20:44 +05:00
committed by GitHub
parent f63d7674e2
commit a59e7c548c

View File

@@ -9,18 +9,6 @@
crossorigin="anonymous"
referrerpolicy="no-referrer">
</script>
<script>
setTimeout(function() {
const currentPath = window.location.pathname;
if (currentPath === '/register-embedded') {
const privacyBannerElement = document.querySelector('.cc-grower');
if (privacyBannerElement) {
// Hide the privacy banner element for embedded authn experience
privacyBannerElement.classList.add('d-none');
}
}
}, 1500);
</script>
</head>
<body>
<div id="root"></div>