mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-11 06:05:16 +08:00
only allowing 20 mistakes
This commit is contained in:
parent
993b4370ef
commit
e9ecc4f9ce
1 changed files with 1 additions and 1 deletions
|
@ -3733,7 +3733,7 @@ $(document).keypress(function (event) {
|
|||
}
|
||||
}
|
||||
|
||||
currentInput += event["key"];
|
||||
if(currentInput.length < wordsList[currentWordIndex].length + 20) currentInput += event["key"];
|
||||
setFocus(true);
|
||||
stopCaretAnimation();
|
||||
activeWordTopBeforeJump = activeWordTop;
|
||||
|
|
Loading…
Reference in a new issue