fixed hideextraletters showing an error line when blind mode is enabled

This commit is contained in:
Jack 2021-09-06 15:21:10 +01:00
parent 60c0332978
commit 28e16a861f

View file

@ -395,7 +395,7 @@ export function updateWordElement(showError) {
}
if (Config.highlightMode === "letter" && Config.hideExtraLetters) {
if (input.length > currentWord.length) {
if (input.length > currentWord.length && !Config.blindMode) {
$(wordAtIndex).addClass("error");
} else if (input.length == currentWord.length) {
$(wordAtIndex).removeClass("error");