From ba7dfa60f729183239e883e2b6df73b724dae418 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Mon, 6 Jul 2020 18:58:48 +0200 Subject: [PATCH] Fix a Chrome JS warning; we cannot preventDefault even if we try. --- files/pr0n-fullscreen.js | 1 - 1 file changed, 1 deletion(-) diff --git a/files/pr0n-fullscreen.js b/files/pr0n-fullscreen.js index 7ab77cd..ef0fd2a 100644 --- a/files/pr0n-fullscreen.js +++ b/files/pr0n-fullscreen.js @@ -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() { -- 2.39.2