Created
June 12, 2019 17:52
-
-
Save rensjaspers/37b6b0e96f36a59ba1ec6db94a3f3b6b to your computer and use it in GitHub Desktop.
Disable click event listeners
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
(()=>{ | |
window.addEventListener("click", event => { | |
event.stopPropagation(); | |
}, true); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment