mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-10 05:35:05 +08:00
ignoring more keys
This commit is contained in:
parent
64bdb265dd
commit
9faac5611c
1 changed files with 12 additions and 0 deletions
|
@ -4529,6 +4529,18 @@ $(document).keydown(function (event) {
|
|||
"ArrowRight",
|
||||
"ArrowDown",
|
||||
"OS",
|
||||
"Insert",
|
||||
"Home",
|
||||
"Undefined",
|
||||
"Control",
|
||||
"Fn",
|
||||
"FnLock",
|
||||
"Hyper",
|
||||
"NumLock",
|
||||
"ScrollLock",
|
||||
"Symbol",
|
||||
"SymbolLock",
|
||||
"Super",
|
||||
undefined
|
||||
].includes(event.key)
|
||||
) return;
|
||||
|
|
Loading…
Reference in a new issue