From 7fee8b21bc6d3ac10d8881404a648ec0f4bfbf00 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Fri, 19 Feb 2021 00:52:43 +1300 Subject: [PATCH] Do not override up/down arrow keys --- html/static/js/player.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/html/static/js/player.js b/html/static/js/player.js index 6b54cf9..dc4a3b3 100644 --- a/html/static/js/player.js +++ b/html/static/js/player.js @@ -209,8 +209,6 @@ document.addEventListener("keydown", event => { relativeSeek(-5) } else if (event.key === "ArrowRight") { relativeSeek(5) - } else if (event.key === "ArrowUp" || event.key === "ArrowDown") { - // no-op } else if (event.key >= "0" && event.key <= "9") { video.currentTime = video.duration * (+event.key) / 10 } else if (event.key === "f") {