mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 13:27:49 +08:00
ignoring input if ctrl key is held down
This commit is contained in:
parent
54aef536c4
commit
836feca205
1 changed files with 1 additions and 0 deletions
|
@ -4601,6 +4601,7 @@ $(document).keydown(function (event) {
|
|||
if (/F\d+/.test(event.key)) return;
|
||||
if (/Numpad/.test(event.key)) return;
|
||||
if (/Volume/.test(event.key)) return;
|
||||
if (event.ctrlKey) return;
|
||||
event = emulateLayout(event);
|
||||
|
||||
//start the test
|
||||
|
|
Loading…
Reference in a new issue