ctucx.git: webmusic-nginx

nginx xslt-based index files optimized for music, inspired by https://git.ztn.sh/zotan/webmusic

commit c96ceb864636c6c7dc388dfcc0f3f3e66f27ce44
parent fff8c358ca194b9b87881054bb596d9b4a3727bb
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sat, 6 Mar 2021 00:33:46 +0100

new key-combo: ESC for goto parent folder
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git 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 = '../';
+    }
 };