mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-05 23:15:08 +08:00
ignoring media keys. fixes #840
This commit is contained in:
parent
c0a78cd3b6
commit
18993b18a4
1 changed files with 1 additions and 0 deletions
|
|
@ -5184,6 +5184,7 @@ function handleAlpha(event) {
|
|||
if (/F\d+/.test(event.key)) return;
|
||||
if (/Numpad/.test(event.key)) return;
|
||||
if (/Volume/.test(event.key)) return;
|
||||
if (/Media/.test(event.key)) return;
|
||||
if (
|
||||
event.ctrlKey != event.altKey &&
|
||||
(event.ctrlKey || /Linux/.test(window.navigator.platform))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue