using route controller earlier to fix a bug in firefox

This commit is contained in:
Jack 2021-06-17 22:09:42 +01:00
parent 17cda8104e
commit 73a335619c

View file

@ -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");
}