Created
January 30, 2012 13:57
-
-
Save alexgibson/1704521 to your computer and use it in GitHub Desktop.
hack to enable active pseudo styles in mobile webkit
This file contains hidden or 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
//enable active pseudo styles in mobile webkit. Only required if not already using touch events | |
function enableActivePseudoStyles() { | |
document.addEventListener("touchstart", function () {}, false); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment