Skip to content

Instantly share code, notes, and snippets.

@cyrilletuzi
Created January 29, 2017 10:37
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save cyrilletuzi/9613708e415a3f5dc6982d6a3c868a7d to your computer and use it in GitHub Desktop.
someElement.addEventListener('click', (event) => {
event.preventDefault();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment