mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-29 11:26:13 +08:00
fixed version mismatch sometimes not showing up
This commit is contained in:
parent
63911b6f37
commit
8fac8c9a84
2 changed files with 2 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue