mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-10 07:36:09 +08:00
waiting for document to be ready
This commit is contained in:
parent
b00af827f2
commit
8dbfa3390f
1 changed files with 5 additions and 3 deletions
|
@ -9,9 +9,11 @@ import * as NewVersionNotification from "./elements/version-check";
|
|||
import * as Notifications from "./elements/notifications";
|
||||
import * as Focus from "./test/focus";
|
||||
|
||||
ManualRestart.set();
|
||||
Misc.migrateFromCookies();
|
||||
UpdateConfig.loadFromLocalStorage();
|
||||
$(document).ready(() => {
|
||||
ManualRestart.set();
|
||||
Misc.migrateFromCookies();
|
||||
UpdateConfig.loadFromLocalStorage();
|
||||
});
|
||||
if (window.location.hostname === "localhost") {
|
||||
$("#bottom .version .text").text("localhost");
|
||||
$("#bottom .version").css("opacity", 1);
|
||||
|
|
Loading…
Add table
Reference in a new issue