moved psa to ready instead of account controller

fixes #3257
This commit is contained in:
Miodec 2022-06-28 13:25:41 +02:00
parent ed5501e5e4
commit 8192e13deb
2 changed files with 2 additions and 3 deletions

View file

@ -7,7 +7,6 @@ import * as Settings from "../pages/settings";
import * as AllTimeStats from "../account/all-time-stats";
import * as DB from "../db";
import * as TestLogic from "../test/test-logic";
import * as PSA from "../elements/psa";
import * as Focus from "../test/focus";
import * as Loader from "../elements/loader";
import * as PageTransition from "../states/page-transition";
@ -302,7 +301,6 @@ const authListener = Auth.onAuthStateChanged(async function (user) {
// ChallengeController.setup(challengeName);
// }, 1000);
}
PSA.show();
});
export function signIn(): void {

View file

@ -6,6 +6,7 @@ import * as NewVersionNotification from "./elements/version-check";
import * as Notifications from "./elements/notifications";
import * as Focus from "./test/focus";
import * as CookiePopup from "./popups/cookie-popup";
import * as PSA from "./elements/psa";
import { CLIENT_VERSION } from "./version";
ManualRestart.set();
@ -61,6 +62,6 @@ $(document).ready(() => {
.removeClass("hidden")
.stop(true, true)
.animate({ opacity: 1 }, 250);
PSA.show();
MonkeyPower.init();
});