mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-11 16:16:05 +08:00
failing test after the event was added to current input
This commit is contained in:
parent
cf2bcb7f50
commit
07f3d7ed38
1 changed files with 5 additions and 5 deletions
|
@ -5036,11 +5036,6 @@ function handleAlpha(event) {
|
|||
updateHighlightedKeymapKey();
|
||||
}
|
||||
|
||||
if (!thisCharCorrect && config.difficulty == "master") {
|
||||
failTest();
|
||||
return;
|
||||
}
|
||||
|
||||
if (config.stopOnError == "letter" && !thisCharCorrect) {
|
||||
return;
|
||||
}
|
||||
|
@ -5055,6 +5050,11 @@ function handleAlpha(event) {
|
|||
currentInput += event["key"];
|
||||
}
|
||||
|
||||
if (!thisCharCorrect && config.difficulty == "master") {
|
||||
failTest();
|
||||
return;
|
||||
}
|
||||
|
||||
activeWordTopBeforeJump = activeWordTop;
|
||||
updateWordElement(!config.blindMode);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue