viewfeed: disable output of counters when serving an infscroll request
This commit is contained in:
parent
34c4e5fcab
commit
b167646419
|
@ -349,9 +349,11 @@
|
||||||
// }
|
// }
|
||||||
|
|
||||||
if (get_pref($link, 'COMBINED_DISPLAY_MODE')) {
|
if (get_pref($link, 'COMBINED_DISPLAY_MODE')) {
|
||||||
print "<counters>";
|
if (!$offset) {
|
||||||
getAllCounters($link, $omode, $feed);
|
print "<counters>";
|
||||||
print "</counters>";
|
getAllCounters($link, $omode, $feed);
|
||||||
|
print "</counters>";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($_GET["debug"]) $timing_info = print_checkpoint("30", $timing_info);
|
if ($_GET["debug"]) $timing_info = print_checkpoint("30", $timing_info);
|
||||||
|
|
Loading…
Reference in New Issue