Skip to content

Commit

Permalink
Hotfix: fix intermission keys
Browse files Browse the repository at this point in the history
  • Loading branch information
jsmitka committed Sep 14, 2023
1 parent a4a36b1 commit 560a096
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/intermissions/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@
next();

const handle_keydown = (event) => {
if (["ArrowDown", "ArrowLeft", "PageDown"].includes(event.key)){
if (["ArrowUp", "ArrowLeft", "PageUp"].includes(event.key)){
active = false;
prev();
}
if (["ArrowUp", "ArrowRight", "PageUp"].includes(event.key)){
if (["ArrowDown", "ArrowRight", "PageDown"].includes(event.key)){
active = false;
next();
}
Expand Down

0 comments on commit 560a096

Please sign in to comment.