Reputation: 787
I invoke the following to prevent scrolling on a web app:
$('body').bind('touchmove', function(e){e.preventDefault()});
But on one page I need to cancel this. What would the opposite of this be? So when the page is called, I can call something like:
$('body').bind('touchmove', function(e){e.preventDefault() == TRUE});
or something
Upvotes: 0
Views: 6238