Last active
December 24, 2015 04:59
-
-
Save jordandobson/6747488 to your computer and use it in GitHub Desktop.
Enable active and hover states on iOS devices to trigger on touch.
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
if( 'ontouchstart' in window ){ document.addEventListener("touchstart", function(){}, false) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment