]> git.sesse.net Git - pr0n/blobdiff - files/pr0n-fullscreen.js
Fix a Chrome JS warning; we cannot preventDefault even if we try.
[pr0n] / files / pr0n-fullscreen.js
index 7ab77cd3155b4ad28320b4c54ed0af8121a4373f..ef0fd2aa67c0a6b66596132ad72822a10c329e41 100644 (file)
@@ -560,7 +560,6 @@ function swipe(e)
                var new_x = (e.changedTouches[0].pageX - swipe_start_x);
                set_swipe_pos(new_x, null);
        }
-       e.preventDefault();
 }
 
 window.onload = function() {