From 0f85f483e5f7a2eafe976433a119cf3957bc97f8 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 25 Jul 2014 12:29:30 +0400 Subject: [PATCH] another implementation of pull 386 (show next when finished reading) (2) --- js/viewfeed.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/viewfeed.js b/js/viewfeed.js index 846c87a8..dc6231c2 100644 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -1350,7 +1350,9 @@ function headlines_scroll_handler(e) { catchup_timeout_id = window.setTimeout('catchupBatchedArticles()', 500); } - } else if (_infscroll_disable) { + } + + if (_infscroll_disable) { var child = $$("#headlines-frame div[id*=RROW]").last(); if (child && $("headlines-frame").scrollTop > -- 2.39.2