I have it disabled already, and I can enable it again. I used:
document.ontouchmove = function(e){
e.preventDefault();
}
In the document.ready(); to disable it.
And I used this to enable it.
function doTouchMove(state) {
document.ontouchmove = function(e){
return state;
}
}
I have it so when a user double clicks on an element, the doTouchMove is called. But how do I make it disabled again?
Thanks