1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-25 08:41:29 +00:00

do not enable infscroll when number of loaded headlines is less than headline limit

This commit is contained in:
Andrew Dolgov
2010-11-14 02:12:24 +03:00
parent a320475200
commit 7d12b6c8be
2 changed files with 2 additions and 2 deletions

View File

@@ -112,7 +112,7 @@ function headlines_callback2(transport, feed_cur_page) {
vgroup_last_feed = headlines_info.vgroup_last_feed;
if (headlines_count == 0) {
if (parseInt(headlines_count) < getInitParam("default_article_limit")) {
_infscroll_disable = 1;
} else {
_infscroll_disable = 0;