Created
July 29, 2022 10:14
-
-
Save nextab/8a1970dc292cb7ed708c959f1fa4e6f0 to your computer and use it in GitHub Desktop.
Bei Klick auf das Element #mousekiller wird dieses auf display: none; gesetzt.
This file contains hidden or 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
| <script> | |
| // Implementation for our hacky Google Map Embed - add this code to your footer! | |
| const mousekiller = document.getElementById("mousekiller"); | |
| if(mousekiller) { | |
| mousekiller.addEventListener('click', function (event) { | |
| mousekiller.style.display = "none"; | |
| }); | |
| }; | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment