1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-25 02:01:28 +00:00

fix some issues in infinite scrolling

This commit is contained in:
Andrew Dolgov
2007-08-24 06:31:57 +01:00
parent 4ab4d3640b
commit 29dfb258c9
4 changed files with 40 additions and 36 deletions

View File

@@ -4216,6 +4216,8 @@
print "<div id=\"headlinesInnerContainer\" onscroll=\"headlines_scroll_handler()\">";
}
$headlines_count = db_num_rows($result);
if (db_num_rows($result) > 0) {
# print "\{$offset}";
@@ -4464,7 +4466,7 @@
print "</div>";
}
return $topmost_article_ids;
return array($topmost_article_ids, $headlines_count);
}
// from here: http://www.roscripts.com/Create_tag_cloud-71.html