mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-08 05:03:39 +08:00
fixed log
This commit is contained in:
parent
f4480771d2
commit
4854502621
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,6 @@ export async function getDataAndInit() {
|
|||
// if($(".pageAccount").hasClass('active')) update();
|
||||
// if ($(".pageLogin").hasClass("active")) UI.changePage("account");
|
||||
if (!UpdateConfig.changedBeforeDb) {
|
||||
console.log("config changed before db");
|
||||
if (Config.localStorageConfig === null) {
|
||||
AccountButton.loading(false);
|
||||
UpdateConfig.apply(DB.getSnapshot().config);
|
||||
|
|
@ -191,6 +190,7 @@ export async function getDataAndInit() {
|
|||
}
|
||||
UpdateConfig.setDbConfigLoaded(true);
|
||||
} else {
|
||||
console.log("config changed before db");
|
||||
AccountButton.loading(false);
|
||||
}
|
||||
if (Config.paceCaret === "pb" || Config.paceCaret === "average") {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue