mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-10 07:36:09 +08:00
fixed lb scrolling up not working correctly
This commit is contained in:
parent
30a85fc858
commit
d646ecd65a
1 changed files with 3 additions and 0 deletions
|
@ -248,6 +248,9 @@ async function requestMore(lb, prepend = false) {
|
|||
} else {
|
||||
currentData[lb].push(...data);
|
||||
}
|
||||
if (prepend && !limitVal) {
|
||||
limitVal = leaderboardSingleLimit;
|
||||
}
|
||||
fillTable(lb, limitVal);
|
||||
hideLoader(lb);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue