mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-06 05:43:47 +08:00
fixed corrected showing up when not supposed to
This commit is contained in:
parent
71f5b6dd1b
commit
4c902e068b
1 changed files with 1 additions and 1 deletions
|
@ -2559,7 +2559,7 @@ async function loadWordsHistory() {
|
|||
}
|
||||
if (wordsList[index][c] !== undefined) {
|
||||
if (input[c] === wordsList[index][c]) {
|
||||
if (correctedChar === input[c]) {
|
||||
if (correctedChar === input[c] || correctedChar === undefined) {
|
||||
wordEl +=
|
||||
'<letter class="correct">' + wordsList[index][c] + "</letter>";
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue