From 55e32b68997fa65cc7a23b88d2e1a7a2c9ba5597 Mon Sep 17 00:00:00 2001 From: Anatoly Date: Wed, 14 Apr 2021 13:52:13 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D1=82=D1=80=D0=BE=D0=B3=D0=BE=200=20?= =?UTF-8?q?=D0=BF=D0=BE=D0=B7=D0=B8=D1=86=D0=B8=D1=8F=20=D0=B4=D0=BB=D1=8F?= =?UTF-8?q?=20=D0=B7=D0=B0=D0=BF=D1=80=D0=BE=D1=81=D0=B0?= 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 279e701..f4f58b6 100644 --- a/main.js +++ b/main.js @@ -49,7 +49,7 @@ cardholder.onscroll = function () { if (!ticking) { window.requestAnimationFrame(function () { - if (pos <= 1) + if (pos === 0) getCards() ticking = false })