Created
November 25, 2015 15:49
-
-
Save suhaotian/58c4b9c7667e28e4720c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
(function(d) { | |
d.addEventListener('touchstart', handler) | |
d.addEventListener('touchmove', handler) | |
function handler(e) { | |
e.preventDefault() | |
} | |
})(document.body) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment