From b58f1515eba7fc424f1947f69bf367bd0599efeb Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Fri, 12 Feb 2021 00:46:56 +1300 Subject: [PATCH] =?UTF-8?q?Don't=20prevent=20Alt+=E2=AC=85=EF=B8=8F/Alt+?= =?UTF-8?q?=E2=9E=A1=EF=B8=8F=20navigation=20hotkeys?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Anything with the alt key is now ignored and untouched. --- html/static/js/player.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/static/js/player.js b/html/static/js/player.js index d32deec..6b54cf9 100644 --- a/html/static/js/player.js +++ b/html/static/js/player.js @@ -197,7 +197,7 @@ video.addEventListener("dblclick", event => { document.addEventListener("keydown", event => { if (["INPUT", "SELECT", "BUTTON"].includes(event.target.tagName)) return - if (event.ctrlKey || event.shiftKey) return + if (event.ctrlKey || event.shiftKey || event.altKey) return let caught = true if (event.key === "j" || event.key === "n") { relativeSeek(-10)