Fix a Chrome JS warning; we cannot preventDefault even if we try.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 6 Jul 2020 16:58:48 +0000 (18:58 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 6 Jul 2020 16:58:48 +0000 (18:58 +0200)
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() {