made sure blind mode highlights the whole word, even if not enough input was given

This commit is contained in:
Jack 2020-05-31 15:01:38 +01:00
parent 2e54622a4e
commit 3c20535c9d

View file

@ -1317,6 +1317,7 @@ $(document).keydown((event) => {
currentTestLine++;
}
}
if(config.blindMode) $("#words .word.active letter").addClass('correct');
if (currentWord == currentInput) {
inputHistory.push(currentInput);
currentInput = "";