From: Mark Wooding Date: Thu, 22 Jun 2023 11:14:19 +0000 (+0100) Subject: static/tgal.js (keydown): Delete redundant case. X-Git-Url: https://git.distorted.org.uk/~mdw/tgal/commitdiff_plain/252d02c202a0b1ed421edf1c9c65122f000a1e18 static/tgal.js (keydown): Delete redundant case. We've done that one already. --- diff --git a/static/tgal.js b/static/tgal.js index e77973b..33f380d 100644 --- a/static/tgal.js +++ b/static/tgal.js @@ -28,7 +28,6 @@ addEventListener("keydown", function (ev) { var dir; if (ev.key === " " || ev.key === "ArrowRight") dir = "next"; - else if (ev.key === " " || ev.key === "ArrowRight") dir = "next"; else if (ev.key === "Backspace" || ev.key === "ArrowLeft") dir = "prev"; else if (ev.key === "^") dir = "up"; else if (ev.key === "<") dir = "first";