chore(frontend): adjust lazy-load trigger threshold
This commit is contained in:
parent
e4173c73fe
commit
586b597ae5
@ -75,7 +75,7 @@ $(window).on("load", function (e) {
|
||||
});
|
||||
|
||||
$("main").scroll(function (e) {
|
||||
if ($(this).scrollTop() + $(this).innerHeight() >= $(this)[0].scrollHeight) {
|
||||
if ($(this).scrollTop() + $(this).innerHeight() >= $(this)[0].scrollHeight - 100) {
|
||||
files_load();
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user