mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-11 00:03:44 +08:00
fixed blind mode highlighting all letters with stop on letter enabled. fixes #884
This commit is contained in:
parent
9a5327646d
commit
6f41472a3b
1 changed files with 1 additions and 1 deletions
|
@ -5088,7 +5088,6 @@ function handleSpace(event, isEnter) {
|
|||
updateHighlightedKeymapKey();
|
||||
settingsGroups.layout.updateButton();
|
||||
}
|
||||
if (config.blindMode) $("#words .word.active letter").addClass("correct");
|
||||
dontInsertSpace = true;
|
||||
if (currentWord == currentInput) {
|
||||
//correct word
|
||||
|
@ -5154,6 +5153,7 @@ function handleSpace(event, isEnter) {
|
|||
}
|
||||
return;
|
||||
}
|
||||
if (config.blindMode) $("#words .word.active letter").addClass("correct");
|
||||
inputHistory.push(currentInput);
|
||||
highlightBadWord(currentWordElementIndex, !config.blindMode);
|
||||
currentInput = "";
|
||||
|
|
Loading…
Reference in a new issue