From eb5a96bf3f22d938afb0760edc7a37e1c30b0a3d Mon Sep 17 00:00:00 2001 From: Jack Date: Sat, 26 Sep 2020 00:12:25 +0100 Subject: [PATCH] fixed slightly incorrect raw calculation --- public/js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/script.js b/public/js/script.js index d80a19b24..ab62f55a2 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -2871,7 +2871,7 @@ function liveWpmAndRaw() { let testSeconds = (testNow - testStart) / 1000; let wpm = Math.round(((correctWordChars + spaces) * (60 / testSeconds)) / 5); let raw = Math.round( - ((chars + spaces + currentInput.length) * (60 / testSeconds)) / 5 + ((chars + spaces) * (60 / testSeconds)) / 5 ); return { wpm: wpm,