From 586b597ae5169853e65aabb1656698c0a331f9ce Mon Sep 17 00:00:00 2001 From: Masahiko AMANO Date: Tue, 1 Jul 2025 11:00:47 +0300 Subject: [PATCH] chore(frontend): adjust lazy-load trigger threshold --- web/static/js/files.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/static/js/files.js b/web/static/js/files.js index 4b256c3..dc311da 100644 --- a/web/static/js/files.js +++ b/web/static/js/files.js @@ -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(); } });