Skip to content

Instantly share code, notes, and snippets.

@joshellington
Created February 17, 2012 19:05
Show Gist options
  • Save joshellington/1854936 to your computer and use it in GitHub Desktop.
Save joshellington/1854936 to your computer and use it in GitHub Desktop.
var mobile = (/iphone|ipad|ipod|android|blackberry|mini|windows\sce|palm/i.test(navigator.userAgent.toLowerCase()));
if (mobile) {
// DROPKICK
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment