Skip to content

Instantly share code, notes, and snippets.

@Ikaring
Last active December 16, 2015 07:08
Show Gist options
  • Save Ikaring/5396419 to your computer and use it in GitHub Desktop.
Save Ikaring/5396419 to your computer and use it in GitHub Desktop.
Prevent needless scrolls on iOS iOSでの不要なスクロール防止
$(function(){
// Prevent needless scrolls on iOS
document.addEventListener("touchmove", function(event) {event.preventDefault();}, false);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment