mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-27 09:16:13 +08:00
fixed hideextraletters showing an error line when blind mode is enabled
This commit is contained in:
parent
60c0332978
commit
28e16a861f
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue