diff options
author | Leah (ctucx) <leah@ctu.cx> | 2021-03-06 00:33:46 +0100 |
---|---|---|
committer | Leah (ctucx) <leah@ctu.cx> | 2021-03-06 00:33:46 +0100 |
commit | c96ceb864636c6c7dc388dfcc0f3f3e66f27ce44 (patch) | |
tree | 744ace0e649683ade5d369eca59a31b1c38830b3 | |
parent | fff8c358ca194b9b87881054bb596d9b4a3727bb (diff) |
new key-combo: ESC for goto parent folder
-rw-r--r-- | webmusic.js | 3 |
1 files changed, 3 insertions, 0 deletions
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 = '../'; + } }; |