mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-06 05:43:47 +08:00
leaderboards will no longer say 'checking' if there is no leaderboard available
This commit is contained in:
parent
09b866991f
commit
dadfd13dd3
1 changed files with 4 additions and 2 deletions
|
@ -2340,8 +2340,10 @@ function showResult(difficultyFailed = false) {
|
|||
);
|
||||
wpmOverTimeChart.update({ duration: 0 });
|
||||
}
|
||||
$("#result .stats .leaderboards").removeClass("hidden");
|
||||
$("#result .stats .leaderboards .bottom").html("checking...");
|
||||
if (config.mode === "time" && (mode2 === 15 || mode2 === 60)) {
|
||||
$("#result .stats .leaderboards").removeClass("hidden");
|
||||
$("#result .stats .leaderboards .bottom").html("checking...");
|
||||
}
|
||||
|
||||
if (activeTags.length == 0) {
|
||||
$("#result .stats .tags").addClass("hidden");
|
||||
|
|
Loading…
Reference in a new issue