Created
April 14, 2020 15:46
-
-
Save dioscarey/2c8e1475d3f71dc8e64b785c98b4dee6 to your computer and use it in GitHub Desktop.
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 links = document.getElementsByTagName("a"); | |
for (var i = 0; i < links.length; i++) { | |
links[i].addEventListener("click", handleClickEvents, false); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment