mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-08 05:03:39 +08:00
using route controller earlier to fix a bug in firefox
This commit is contained in:
parent
17cda8104e
commit
73a335619c
1 changed files with 1 additions and 1 deletions
|
|
@ -13,8 +13,8 @@ Misc.migrateFromCookies();
|
|||
UpdateConfig.loadFromLocalStorage();
|
||||
Misc.getReleasesFromGitHub();
|
||||
|
||||
RouteController.handleInitialPageClasses(window.location.pathname);
|
||||
$(document).ready(() => {
|
||||
RouteController.handleInitialPageClasses(window.location.pathname);
|
||||
if (window.location.pathname === "/") {
|
||||
// $("#top .config").removeClass("hidden");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue