mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-10 07:36:09 +08:00
hiding 'checking' element
This commit is contained in:
parent
d9fa296478
commit
02139b34f2
1 changed files with 5 additions and 4 deletions
|
@ -1708,10 +1708,11 @@ export async function finish(difficultyFailed = false) {
|
|||
completedEvent.mode === "time" &&
|
||||
["15", "60"].includes(String(completedEvent.mode2))
|
||||
) {
|
||||
$("#result .stats .leaderboards").removeClass("hidden");
|
||||
$("#result .stats .leaderboards .bottom").html(
|
||||
`checking <i class="fas fa-spin fa-fw fa-circle-notch"></i>`
|
||||
);
|
||||
//TODO bring back when leaderboards fixed
|
||||
// $("#result .stats .leaderboards").removeClass("hidden");
|
||||
// $("#result .stats .leaderboards .bottom").html(
|
||||
// `checking <i class="fas fa-spin fa-fw fa-circle-notch"></i>`
|
||||
// );
|
||||
}
|
||||
if (!window.navigator.onLine) {
|
||||
AccountButton.loading(false);
|
||||
|
|
Loading…
Add table
Reference in a new issue