From: Andrew Dolgov Date: Sat, 17 Jan 2009 07:15:04 +0000 (+0100) Subject: viewfeed: disable output of counters when serving an infscroll request X-Git-Tag: 1.3.0~131 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b16764641900e498b5c89943e83b2a4fbb324a63;p=tt-rss.git viewfeed: disable output of counters when serving an infscroll request --- diff --git a/backend.php b/backend.php index 33c3a45d..b772dbbf 100644 --- a/backend.php +++ b/backend.php @@ -349,9 +349,11 @@ // } if (get_pref($link, 'COMBINED_DISPLAY_MODE')) { - print ""; - getAllCounters($link, $omode, $feed); - print ""; + if (!$offset) { + print ""; + getAllCounters($link, $omode, $feed); + print ""; + } } if ($_GET["debug"]) $timing_info = print_checkpoint("30", $timing_info);