summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-02 15:32:47 +0400
committerAndrew Dolgov <[email protected]>2013-04-02 15:32:47 +0400
commitf17cac6b26c4df018e8fda97925411d8267c1310 (patch)
tree13bcd65ee9c3b1fdc4757340ccdee06224710bf5 /js
parent4b7726f0b44db36ad12c0a0918a9129c8cbb1caa (diff)
retire DEFAULT_ARTICLE_LIMIT, infinite scrolling is fast enough to make it superfluous
Diffstat (limited to 'js')
-rw-r--r--js/viewfeed.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/viewfeed.js b/js/viewfeed.js
index 48137a136..c1163eab7 100644
--- a/js/viewfeed.js
+++ b/js/viewfeed.js
@@ -64,7 +64,7 @@ function headlines_callback2(transport, offset, background, infscroll_req) {
vgroup_last_feed = reply['headlines-info']['vgroup_last_feed'];
- if (parseInt(headlines_count) < getInitParam("default_article_limit")) {
+ if (parseInt(headlines_count) < 30) {
_infscroll_disable = 1;
} else {
_infscroll_disable = 0;