Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.