mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-11 18:03:30 +08:00
fixed livewpm and graph with nospace
This commit is contained in:
parent
7808ab17b6
commit
6602022039
1 changed files with 3 additions and 0 deletions
|
@ -3014,6 +3014,9 @@ function liveWpmAndRaw() {
|
|||
if (wordsList[currentWordIndex] === currentInput) {
|
||||
correctWordChars += currentInput.length;
|
||||
}
|
||||
if (activeFunBox === "nospace") {
|
||||
spaces = 0;
|
||||
}
|
||||
chars += currentInput.length;
|
||||
let testNow = performance.now();
|
||||
let testSeconds = (testNow - testStart) / 1000;
|
||||
|
|
Loading…
Reference in a new issue