mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-11 01:44:50 +08:00
fix
This commit is contained in:
parent
99ff5d1b14
commit
92151dc623
1 changed files with 8 additions and 9 deletions
|
|
@ -678,16 +678,15 @@ function showResult(difficultyFailed = false) {
|
|||
if(d < stats.wpm && stats.wpm < d2){
|
||||
dontShowCrown = true;
|
||||
}
|
||||
})
|
||||
if(d < stats.wpm){
|
||||
//new pb based on local
|
||||
if(!dontShowCrown){
|
||||
hideCrown();
|
||||
showCrown();
|
||||
if(d < stats.wpm){
|
||||
//new pb based on local
|
||||
if(!dontShowCrown){
|
||||
hideCrown();
|
||||
showCrown();
|
||||
}
|
||||
localPb = true;
|
||||
}
|
||||
localPb = true;
|
||||
}
|
||||
|
||||
})
|
||||
})
|
||||
|
||||
accountIconLoading(true);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue