From 46a100ff16ea4e4047a2091c25098c620232a76b Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Sat, 18 Oct 2014 09:58:06 +0200 Subject: [PATCH] Fixed endless scroll loading next page too eagerly --- public_html/js/Presenters/PagerPresenter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public_html/js/Presenters/PagerPresenter.js b/public_html/js/Presenters/PagerPresenter.js index 891fcf7d..67218ef7 100644 --- a/public_html/js/Presenters/PagerPresenter.js +++ b/public_html/js/Presenters/PagerPresenter.js @@ -53,6 +53,7 @@ App.Presenters.PagerPresenter = function( } function reinit(params, loaded) { + window.clearInterval(scrollInterval); if (forceClear) { clearContent(); }