mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 13:27:49 +08:00
fixed cpm rounding
This commit is contained in:
parent
e8092211f1
commit
7f4edc5dc8
1 changed files with 1 additions and 1 deletions
|
@ -1737,7 +1737,7 @@ function showResult(difficultyFailed = false) {
|
|||
$("#result .stats .wpm .top .text").text("cpm");
|
||||
$("#result .stats .wpm .bottom").attr(
|
||||
"aria-label",
|
||||
stats.wpm * 5 + ` (${roundTo2(stats.wpm)} wpm)`
|
||||
roundTo2(stats.wpm * 5) + ` (${roundTo2(stats.wpm)} wpm)`
|
||||
);
|
||||
$("#result .stats .wpm .bottom").text(Math.round(stats.wpm * 5));
|
||||
$("#result .stats .raw .bottom").text(Math.round(stats.wpmRaw * 5));
|
||||
|
|
Loading…
Reference in a new issue