only allowing 20 mistakes

This commit is contained in:
Jack 2020-09-06 02:51:35 +01:00
parent 993b4370ef
commit e9ecc4f9ce

View file

@ -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;