1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-28 04:31:29 +00:00

viewfeed: return counters when subop is present or when in CDM

This commit is contained in:
Andrew Dolgov
2010-11-11 09:56:03 +03:00
parent 96811a55e6
commit d36f560740
3 changed files with 8 additions and 5 deletions

View File

@@ -201,8 +201,11 @@ function headlines_callback2(transport, feed_cur_page) {
} else {
console.log("no cached articles received");
}
request_counters();
if (counters)
parse_counters(counters);
else
request_counters();
if (runtime_info) {
parse_runtime_info(runtime_info[0]);