mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2024-11-25 08:57:31 +00:00
Do not override up/down arrow keys
This commit is contained in:
parent
6186be0a13
commit
7fee8b21bc
@ -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") {
|
||||
|
Loading…
Reference in New Issue
Block a user