diff options
author | Laura Hausmann <laura@hausmann.dev> | 2021-05-07 12:23:30 +0200 |
---|---|---|
committer | Leah (ctucx) <leah@ctu.cx> | 2021-05-07 12:28:00 +0200 |
commit | ac42fd4ab6820f5e840b13cbd03f3cdf0ae149ff (patch) | |
tree | dd19d161df04bbb75d949e72ffea0148115433b6 | |
parent | ae445a4330e1436edcce6c35307a3b2a19970ae0 (diff) |
-rw-r--r-- | webmusic.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webmusic.js b/webmusic.js index 80716da..2707b73 100644 --- 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(); |