Don't prevent Alt+⬅️/Alt+➡️ navigation hotkeys
Anything with the alt key is now ignored and untouched.
This commit is contained in:
parent
e279fca60e
commit
b58f1515eb
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue