Created
May 30, 2020 22:28
-
-
Save dilverdev/bc2f80d0330c44c895a7902a28b6de45 to your computer and use it in GitHub Desktop.
Remove overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const removeOverlay = () => { | |
const overlay = document.getElementById('signwall-app') | |
overlay.remove() | |
const body = document.querySelector('body') | |
body.classList.remove('overflow-hidden') | |
body.style.overflow = 'scroll' | |
const html = document.querySelector('html') | |
html.classList.remove('overflow-hidden') | |
const content = document.querySelector('.story-content__nota-premium') | |
content.style.display = 'block' | |
} | |
removeOverlay() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment