refactor: remove old, unnecessary code

This commit is contained in:
Miodec 2024-06-11 00:26:54 +02:00
parent 60570459cb
commit 2e78d9f066

View file

@ -275,9 +275,6 @@ function handleSpace(): void {
return;
}
PaceCaret.handleSpace(false, currentWord);
if (Config.blindMode && Config.highlightMode !== "off") {
$("#words .word.active letter").addClass("correct");
}
TestInput.input.pushHistory();
TestUI.highlightBadWord(TestUI.currentWordElementIndex, !Config.blindMode);
TestWords.words.increaseCurrentIndex();