mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-27 17:27:32 +08:00
Fixed Bug: 'custom' used to appear two times under highest wpm value in account stats (#1640) by tricarbonate
This commit is contained in:
parent
a3d89c4357
commit
0996fbe7ce
1 changed files with 4 additions and 1 deletions
|
|
@ -657,7 +657,10 @@ export function update() {
|
|||
? ",<br> " + (result.punctuation ? "&" : "") + "with numbers"
|
||||
: "";
|
||||
topWpm = result.wpm;
|
||||
topMode = result.mode + " " + result.mode2 + puncsctring + numbsctring;
|
||||
if (result.mode == "custom") topMode = result.mode;
|
||||
else
|
||||
topMode =
|
||||
result.mode + " " + result.mode2 + puncsctring + numbsctring;
|
||||
}
|
||||
|
||||
totalWpm += result.wpm;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue