viewfeed: better checking for reopening current feed
This commit is contained in:
parent
c67cd7ab9d
commit
32834a7412
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue