mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-29 18:27:33 +08:00
fixed a bug where the pace caret would reset to the beginning after the account data was loaded
This commit is contained in:
parent
7de77adb90
commit
3a653de592
1 changed files with 4 additions and 1 deletions
|
|
@ -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 ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue