mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-06 05:43:47 +08:00
updated error message when lb load failed, and hiding the loader bar. fixes #850
This commit is contained in:
parent
09ce32222c
commit
15c7b3a30c
1 changed files with 2 additions and 1 deletions
|
@ -217,7 +217,8 @@ function updateLeaderboards() {
|
|||
}
|
||||
})
|
||||
.catch((e) => {
|
||||
Notifications.add("Something went wrong", -1);
|
||||
hideBackgroundLoader();
|
||||
Notifications.add("Something went wrong: " + e.message, -1);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue