viewfeed: better checking for reopening current feed

This commit is contained in:
Andrew Dolgov 2012-10-10 16:31:33 +04:00
parent c67cd7ab9d
commit 32834a7412
1 changed files with 1 additions and 1 deletions

View File

@ -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);