<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">var timerId;

window.addEventListener('scroll', function (e) {
    var currentHeight = window.scrollY;
    var positionMore = parseInt($('#more-photo').position().top) - parseInt($(window).height());

    if (positionMore - 150 &lt;= currentHeight) {
        clearTimeout(timerId);
        timerId = setTimeout(function () {
            loadMorePhoto();
        }, 100);
    }
});</pre></body></html>