summaryrefslogtreecommitdiff
path: root/viewfeed.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-11-26 18:32:37 +0100
committerAndrew Dolgov <[email protected]>2007-11-26 18:32:37 +0100
commit3de99e6b6ccc2a343e04cf04389ed4f862b755ef (patch)
tree43211870e497031ab23b47c5a22c5267c11aadf3 /viewfeed.js
parent090ac2fea07da2c4a380329fafa6c4a5f15f5e2f (diff)
invalidate headline cache when clicking on unread article
Diffstat (limited to 'viewfeed.js')
-rw-r--r--viewfeed.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/viewfeed.js b/viewfeed.js
index 1ad7e77fc..0609bb5ff 100644
--- a/viewfeed.js
+++ b/viewfeed.js
@@ -286,6 +286,8 @@ function showArticleInHeadlines(id) {
document.getElementById("headlines-frame").innerHTML,
get_feed_unread(getActiveFeedId())-1);
+ } else if (article_is_unread) {
+ cache_invalidate(cache_prefix + getActiveFeedId());
}
markHeadline(id);