mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-03 22:15:07 +08:00
fix: reenable login inputs if loading user data fails
This commit is contained in:
parent
906c15cfaf
commit
13a15c94d6
1 changed files with 1 additions and 0 deletions
|
|
@ -108,6 +108,7 @@ async function getDataAndInit(): Promise<boolean> {
|
|||
Notifications.add("Failed to get user data: " + msg, -1);
|
||||
console.error(e);
|
||||
|
||||
LoginPage.enableInputs();
|
||||
$("header nav .account").css("opacity", 1);
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue