diff options
author | Andrew Dolgov <[email protected]> | 2007-08-24 06:31:57 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-08-24 06:31:57 +0100 |
commit | 29dfb258c98e2ed4f196784e318d14b05c94a257 (patch) | |
tree | 0e0fe968d7039db7d39d86d8781fd5ccf4ffbf2f /functions.php | |
parent | 4ab4d3640be960e7ae2749665f1fb91592fa614a (diff) |
fix some issues in infinite scrolling
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/functions.php b/functions.php index f2fa61b6f..40abd4132 100644 --- a/functions.php +++ b/functions.php @@ -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 |