mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-04 03:36:44 +08:00
Fix infinite scroll [SCI-7836]
This commit is contained in:
parent
03631d28aa
commit
7f58440b0e
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ var InfiniteScroll = (function() {
|
||||||
|
|
||||||
// Check when load next page
|
// Check when load next page
|
||||||
function scrollHitBottom(con) {
|
function scrollHitBottom(con) {
|
||||||
return scrollHeight(con) - containerPosition(con) <= 0;
|
return scrollHeight(con) - containerPosition(con) <= 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
function removeScroll(con) {
|
function removeScroll(con) {
|
||||||
|
|
Loading…
Reference in a new issue