You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
If a page is not that long, the scroll bottom event may not always fire.
I made a change so that bottom doesnt rely on bodyHeight - 15% but rather use bodyHeight - windowHeight
line 120:
if ('scroll' === settings[thisId].method) {
var windowHeight = window.innerHeight
|| document.documentElement.clientHeight
|| document.body.clientHeight;
var bodyHeight = document.body.offsetHeight,
middle = parseInt(bodyHeight/2),
bottom = bodyHeight - windowHeight - 10;
The text was updated successfully, but these errors were encountered:
Hi!
If a page is not that long, the scroll bottom event may not always fire.
I made a change so that bottom doesnt rely on
bodyHeight - 15%
but rather usebodyHeight - windowHeight
line 120:
if ('scroll' === settings[thisId].method) {
var windowHeight = window.innerHeight
|| document.documentElement.clientHeight
|| document.body.clientHeight;
var bodyHeight = document.body.offsetHeight,
middle = parseInt(bodyHeight/2),
bottom = bodyHeight - windowHeight - 10;
The text was updated successfully, but these errors were encountered: