mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-21 07:46:15 +08:00
parent
af34ccaa56
commit
4fa24c0bc3
|
@ -522,7 +522,7 @@ async function requestMore(lb: LbKey, prepend = false): Promise<void> {
|
|||
if (prepend && !limitVal) {
|
||||
limitVal = leaderboardSingleLimit - 1;
|
||||
}
|
||||
fillTable(lb, limitVal);
|
||||
await fillTable(lb, limitVal);
|
||||
hideLoader(lb);
|
||||
requesting[lb] = false;
|
||||
}
|
||||
|
@ -554,7 +554,7 @@ async function requestNew(lb: LbKey, skip: number): Promise<void> {
|
|||
return;
|
||||
}
|
||||
currentData[lb] = data;
|
||||
fillTable(lb);
|
||||
await fillTable(lb);
|
||||
hideLoader(lb);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue