diff --git a/main.js b/main.js index d4bc97c..279e701 100644 --- a/main.js +++ b/main.js @@ -49,7 +49,7 @@ cardholder.onscroll = function () { if (!ticking) { window.requestAnimationFrame(function () { - if (pos <= cardholder.clientWidth) + if (pos <= 1) getCards() ticking = false })