fixed version mismatch sometimes not showing up

This commit is contained in:
Jack 2021-05-07 20:28:42 +01:00
parent 63911b6f37
commit 8fac8c9a84
2 changed files with 2 additions and 4 deletions

View file

@ -104,14 +104,14 @@ function changeActiveSubpage(newPage) {
$(`.pageTribe .${newPage}`),
250,
() => {
pageTransition = false;
activePage = newPage;
if (newPage === "prelobby") {
OnlineStats.refresh();
}
if (newPage === "lobby") {
$(".pageTribe .lobby .chat .input input").focus();
}
pageTransition = false;
activePage = newPage;
}
);
}

View file

@ -14,7 +14,6 @@ import * as Settings from "./settings";
import * as Account from "./account";
import * as Leaderboards from "./leaderboards";
import * as Tribe from "./tribe";
import * as TribeOnlineStats from "./tribe-online-stats";
import * as Funbox from "./funbox";
export let pageTransition = false;
@ -242,7 +241,6 @@ export function changePage(page, tribe = false) {
Tribe.init();
}
}
TribeOnlineStats.refresh();
},
() => {
TestConfig.show();