mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
Merge pull request #667 from kiwix/issue603
Safer scroll bound detection
This commit is contained in:
@ -345,7 +345,7 @@
|
||||
});
|
||||
|
||||
async function loadSubset() {
|
||||
if (window.innerHeight + window.scrollY >= document.body.offsetHeight) {
|
||||
if (window.innerHeight + window.scrollY >= (document.body.offsetHeight * 0.98)) {
|
||||
if (incrementalLoadingParams.count) {
|
||||
loadAndDisplayBooks();
|
||||
}
|
||||
|
Reference in New Issue
Block a user