From 32834a74125c4ad30ca9c47359ef74edb45476ca Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 10 Oct 2012 16:31:33 +0400 Subject: [PATCH] viewfeed: better checking for reopening current feed --- js/feedlist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5