SyntaxFix
Write A Post
Hire A Developer
Questions
Check for scale factor in touchove event then prevent touch event.
document.addEventListener('touchmove', function(event) { event = event.originalEvent || event; if(event.scale > 1) { event.preventDefault(); } }, false);