fixed a bug where the pace caret would reset to the beginning after the account data was loaded

This commit is contained in:
Jack 2020-12-14 18:34:31 +00:00
parent 7de77adb90
commit 3a653de592

View file

@ -313,7 +313,6 @@ function getAccountDataAndInit() {
if (db_getSnapshot() === null) {
throw "Missing db snapshot. Client likely could not connect to the backend.";
}
initPaceCaret(true);
if (!configChangedBeforeDb) {
if (cookieConfig === null) {
accountIconLoading(false);
@ -368,6 +367,10 @@ function getAccountDataAndInit() {
} else {
accountIconLoading(false);
}
if (config.paceCaret === "pb") {
// initPaceCaret(true);
$("#paceCaret").addClass("hidden");
}
try {
if (
config.resultFilters === undefined ||