ctucx.git: webmusic-nginx

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

commit 25e8e7d23002e1c94b0d3bc8522bfea90b2d86dd
parent 77bf0fcbd102321a228b5f7ff2e0361db5d784e1
Author: Isabelle <hi@f2k1.de>
Date: Sun, 7 Mar 2021 17:51:43 +0100

webmusic.js: ignore keyboard controls if ctrl or alt is pressed
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/webmusic.js b/webmusic.js
@@ -9,6 +9,7 @@ let   repeat       = false;
 let   total        = 0;
 
 const handleKeyEvent = (event) => {
+	if (event.ctrlKey === true || event.altKey === true) return;
 	switch (event.key) {
 		case ' ':
 		case 'p':