function loaded() {
document.addEventListener('touchmove', function(e){ e.preventDefault(); });
myScroll = new iScroll('scroller');
}
document.addEventListener('DOMContentLoaded', loaded);
If its possible...
Thanks :)
function loaded() {
document.addEventListener('touchmove', function(e){ e.preventDefault(); });
myScroll = new iScroll('scroller');
}
document.addEventListener('DOMContentLoaded', loaded);
If its possible...
Thanks :)
$(function() {
$(document).bind('touchmove', function(e) { e.preventDefault(); });
var blah = new iScroll('scroller');
});
i believe this would work.