Строго 0 позиция для запроса

This commit is contained in:
2021-04-14 13:52:13 +03:00
parent bb8dd9368a
commit 55e32b6899

View File

@@ -49,7 +49,7 @@ cardholder.onscroll = function () {
if (!ticking) { if (!ticking) {
window.requestAnimationFrame(function () { window.requestAnimationFrame(function () {
if (pos <= 1) if (pos === 0)
getCards() getCards()
ticking = false ticking = false
}) })