Created
December 12, 2012 14:20
-
-
Save georgiee/4268056 to your computer and use it in GitHub Desktop.
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
https://developers.google.com/mobile/articles/fast_buttons?hl=de | |
//straight forwards solution to attach both listeners | |
$(element).bind("touchstart click",function(e){ | |
e.preventDefault()// touchstatr will prevent click but also scroll. Read Link for a better solution | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment