From 7f7b2d542b25abb211126586e5356a84c602a641 Mon Sep 17 00:00:00 2001 From: "Leah (ctucx)" Date: Sat, 6 Mar 2021 00:33:46 +0100 Subject: [PATCH] new key-combo: ESC for goto parent folder --- webmusic.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webmusic.js b/webmusic.js index 03e57a3..014496a 100644 --- a/webmusic.js +++ b/webmusic.js @@ -50,6 +50,9 @@ window.onkeyup = function (event) { else if (event.key === "ArrowRight") { sound.seek(sound.seek()+10); } + else if (event.key === "Escape") { + window.location = '../'; + } };