From 683e614dc625cafdb64bc982a9ca556c140c023f Mon Sep 17 00:00:00 2001 From: discomrade Date: Tue, 28 Sep 2021 08:04:01 +0000 Subject: [PATCH] Make scroller in expand-video.js passive --- js/expand-video.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/expand-video.js b/js/expand-video.js index 421676c4..b1aee41a 100644 --- a/js/expand-video.js +++ b/js/expand-video.js @@ -172,7 +172,7 @@ function setupVideo(thumb, url) { changeSetting("videovolume", volume); e.preventDefault(); } - }, false); + }, {passive: true}); // [play once] vs [loop] controls function setupLoopControl(i) {