diff --git a/src/js/account.js b/src/js/account.js index 9a60a01d3..0a27f3685 100644 --- a/src/js/account.js +++ b/src/js/account.js @@ -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);