From bb8dd9368a7f3c8dfa7e9dd386ce1bb888a73769 Mon Sep 17 00:00:00 2001 From: Anatoly Date: Wed, 14 Apr 2021 13:50:33 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B1=D0=B0=D0=B3=D1=84=D0=B8=D0=BA=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 })