1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 05:15:56 +00:00

fix background refresh being broken when no counter data is sent

This commit is contained in:
Andrew Dolgov
2010-11-04 23:09:13 +03:00
parent 6a7817c1ad
commit a8f447f398
2 changed files with 6 additions and 6 deletions

View File

@@ -562,11 +562,13 @@ function parse_counters_reply(transport, scheduled_call) {
var counters = reply.getElementsByTagName("counters")[0];
parse_counters(counters, scheduled_call);
if (counters)
parse_counters(counters, scheduled_call);
var runtime_info = reply.getElementsByTagName("runtime-info")[0];
parse_runtime_info(runtime_info);
if (runtime_info)
parse_runtime_info(runtime_info);
if (feedsSortByUnread()) {
resort_feedlist();