mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 21:33:40 +08:00
fixed page not changing if config was different to db
This commit is contained in:
parent
69dbbda64a
commit
7addf86ab3
1 changed files with 3 additions and 1 deletions
|
@ -114,7 +114,9 @@ export function getDataAndInit() {
|
|||
UpdateConfig.apply(DB.getSnapshot().config);
|
||||
Settings.update();
|
||||
UpdateConfig.saveToLocalStorage(true);
|
||||
TestLogic.restart(false, true);
|
||||
if ($(".page.pageTest").hasClass("active")) {
|
||||
TestLogic.restart(false, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
UpdateConfig.setDbConfigLoaded(true);
|
||||
|
|
Loading…
Reference in a new issue