mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-26 07:44:01 +08:00
only setting word to correct if highlight mode is not off
This commit is contained in:
parent
746fcbe934
commit
b6912c2401
1 changed files with 2 additions and 1 deletions
|
@ -190,7 +190,8 @@ function handleSpace(): void {
|
|||
return;
|
||||
}
|
||||
PaceCaret.handleSpace(false, currentWord);
|
||||
if (Config.blindMode) $("#words .word.active letter").addClass("correct");
|
||||
if (Config.blindMode && Config.highlightMode !== "off")
|
||||
$("#words .word.active letter").addClass("correct");
|
||||
TestInput.input.pushHistory();
|
||||
TestUI.highlightBadWord(TestUI.currentWordElementIndex, !Config.blindMode);
|
||||
TestWords.words.increaseCurrentIndex();
|
||||
|
|
Loading…
Reference in a new issue