From: Andrew Dolgov Date: Wed, 10 Oct 2012 12:31:33 +0000 (+0400) Subject: viewfeed: better checking for reopening current feed X-Git-Tag: 1.6.0~10 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=32834a74125c4ad30ca9c47359ef74edb45476ca;p=tt-rss.git viewfeed: better checking for reopening current feed --- diff --git a/js/feedlist.js b/js/feedlist.js index b737ba84..972fa3b1 100644 --- a/js/feedlist.js +++ b/js/feedlist.js @@ -70,7 +70,7 @@ function viewfeed(feed, method, is_cat, offset, background, infscroll_req) { var cached_headlines = false; - if (feed == getActiveFeedId()) { + if (feed == getActiveFeedId() && activeFeedIsCat() == is_cat) { cache_delete("feed:" + feed + ":" + is_cat); } else { cached_headlines = cache_get("feed:" + feed + ":" + is_cat);