Skip to content

Instantly share code, notes, and snippets.

@davidgilbertson
Last active February 17, 2020 10:36
Show Gist options
  • Save davidgilbertson/365980a4cf33fa86366919840a7bf134 to your computer and use it in GitHub Desktop.
Save davidgilbertson/365980a4cf33fa86366919840a7bf134 to your computer and use it in GitHub Desktop.
window.addEventListener('mouseover', function onFirstHover() {
window.USER_CAN_HOVER = true;
window.removeEventListener('mouseover', onFirstHover, false);
}, false);
@andrey-hohlov
Copy link

It fires on iPhone :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment