Make scroller in expand-video.js passive

This commit is contained in:
discomrade 2021-09-28 08:04:01 +00:00
parent fa4f543a2d
commit bb34acedf6

View file

@ -172,7 +172,7 @@ function setupVideo(thumb, url) {
changeSetting("videovolume", volume); changeSetting("videovolume", volume);
e.preventDefault(); e.preventDefault();
} }
}, false); }, {passive: true});
// [play once] vs [loop] controls // [play once] vs [loop] controls
function setupLoopControl(i) { function setupLoopControl(i) {