ctucx.git: webmusic-nginx

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

commit ac42fd4ab6820f5e840b13cbd03f3cdf0ae149ff
parent ae445a4330e1436edcce6c35307a3b2a19970ae0
Author: Laura Hausmann <laura@hausmann.dev>
Date: Fri, 7 May 2021 12:23:30 +0200

Fix keyevents for macOS
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/webmusic.js b/webmusic.js
@@ -10,7 +10,7 @@ let   total        = 0;
 let   onlyDirs     = true;
 
 const handleKeyEvent = (event) => {
-	if (event.ctrlKey === true || event.altKey === true) return;
+	if (event.ctrlKey === true || event.altKey === true || event.metaKey == true) return;
 	event.preventDefault();
 	event.stopPropagation();