mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 21:33:40 +08:00
made sure live wpm calculation is also adjusted
This commit is contained in:
parent
491a6b67f9
commit
873136659e
1 changed files with 3 additions and 3 deletions
|
@ -1812,9 +1812,9 @@ function liveWpmAndRaw() {
|
|||
//the word is correct
|
||||
//+1 for space
|
||||
correctWordChars += wordsList[i].length;
|
||||
}
|
||||
if (i < inputHistory.length - 1) {
|
||||
spaces++;
|
||||
if (i < inputHistory.length - 1) {
|
||||
spaces++;
|
||||
}
|
||||
}
|
||||
chars += inputHistory[i].length;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue