mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-04 21:09:18 +08:00
making sure holding down command stops the input
This commit is contained in:
parent
8ade02f170
commit
623c54bc5b
1 changed files with 1 additions and 0 deletions
|
@ -4542,6 +4542,7 @@ $(document).keydown(function (event) {
|
|||
if (/Numpad/.test(event.key)) return;
|
||||
if (/Volume/.test(event.key)) return;
|
||||
if (event.ctrlKey) return;
|
||||
if (event.metaKey) return;
|
||||
event = emulateLayout(event);
|
||||
|
||||
//start the test
|
||||
|
|
Loading…
Reference in a new issue