diff --git a/js/feedlist.js b/js/feedlist.js index 3a0b7cb12..daba29108 100644 --- a/js/feedlist.js +++ b/js/feedlist.js @@ -13,6 +13,10 @@ var _counters_prev = []; return false; }*/ +function resetCounterCache() { + _counters_prev = []; +} + function loadMoreHeadlines() { try { console.log("loadMoreHeadlines"); @@ -306,10 +310,10 @@ function parse_counters(elems) { continue; } - if (id == "subscribed-feeds") { + /*if (id == "subscribed-feeds") { feeds_found = ctr; continue; - } + }*/ /*if (getFeedUnread(id, (kind == "cat")) != ctr || (kind == "cat")) { diff --git a/js/tt-rss.js b/js/tt-rss.js index 0cbd589bb..36be92f4e 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -55,6 +55,8 @@ function updateFeedList() { // __("Loading, please wait...") + ""; Element.show("feedlistLoading"); + + resetCounterCache(); if (dijit.byId("feedTree")) { dijit.byId("feedTree").destroyRecursive();