Skip to content

Commit dbbffc3

Browse files
committed
Don't check for spaces
1 parent 0618944 commit dbbffc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/ts/test/test-ui.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ export async function updateWordLetters({
856856
`<letter class="incorrect ${tabChar}${nlChar}">` +
857857
(Config.indicateTypos === "replace" ||
858858
Config.indicateTypos === "both"
859-
? inputChars[i] === " " || inputChars[i] === "\t"
859+
? inputChars[i] === "\t"
860860
? "_"
861861
: inputChars[i]
862862
: currentLetter) +

0 commit comments

Comments
 (0)