mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-14 19:35:18 +08:00
try catch around setting mp name
This commit is contained in:
parent
5e0b69af25
commit
988a3dda3e
1 changed files with 3 additions and 1 deletions
|
|
@ -216,7 +216,9 @@ firebase.auth().onAuthStateChanged(function (user) {
|
|||
$(".pageLogin .preloader").addClass("hidden");
|
||||
$("#menu .icon-button.account .text").text(displayName);
|
||||
|
||||
MP.name = displayName;
|
||||
try {
|
||||
MP.name = displayName;
|
||||
} catch {}
|
||||
|
||||
showFavouriteThemesAtTheTop();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue