fixed livewpm and graph with nospace

This commit is contained in:
Jack 2020-12-07 19:23:30 +00:00
parent 7808ab17b6
commit 6602022039

View file

@ -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;