Skip to content

Instantly share code, notes, and snippets.

@bcaccinolo
Created May 17, 2019 12:03
  • 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 bcaccinolo/bf394be3178ad31764e9e25647fda97d to your computer and use it in GitHub Desktop.
body = window.document.getElementsByTagName('body')[0];
body.addEventListener('mouseenter', function(ev) {
ev.preventDefault;
if(ev.target.tagName !== 'TD') {
return;
}
ev.target.className = "bouya";
}, true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment