From 2e78d9f0667b8964e7355dd9d3906bce76ef3815 Mon Sep 17 00:00:00 2001 From: Miodec Date: Tue, 11 Jun 2024 00:26:54 +0200 Subject: [PATCH] refactor: remove old, unnecessary code --- frontend/src/ts/controllers/input-controller.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/frontend/src/ts/controllers/input-controller.ts b/frontend/src/ts/controllers/input-controller.ts index 27f286832..22d4bcbd9 100644 --- a/frontend/src/ts/controllers/input-controller.ts +++ b/frontend/src/ts/controllers/input-controller.ts @@ -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();