summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-07-25 12:29:30 +0400
committerAndrew Dolgov <[email protected]>2014-07-25 12:29:30 +0400
commit0f85f483e5f7a2eafe976433a119cf3957bc97f8 (patch)
tree3c0c5a7f179868680f7f75a9afecafc32f316a83 /js
parentb7c20a3759ef456a065748f249837edb1264b864 (diff)
another implementation of pull 386 (show next when finished reading) (2)
Diffstat (limited to 'js')
-rw-r--r--js/viewfeed.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/viewfeed.js b/js/viewfeed.js
index 846c87a8f..dc6231c22 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 >