Skip to content

Instantly share code, notes, and snippets.

@wilsonwc
Created April 30, 2013 23:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wilsonwc/5492782 to your computer and use it in GitHub Desktop.
Save wilsonwc/5492782 to your computer and use it in GitHub Desktop.
Little hack to disable click events for non touch-enabled devices
if(!Modernizr.touch){
$('a[href^="tel"]').click(function(){return false;});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment