From: Andrew Dolgov Date: Mon, 26 Nov 2007 17:32:37 +0000 (+0100) Subject: invalidate headline cache when clicking on unread article X-Git-Tag: 1.2.18~14 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=3de99e6b6ccc2a343e04cf04389ed4f862b755ef;p=tt-rss.git invalidate headline cache when clicking on unread article --- diff --git a/viewfeed.js b/viewfeed.js index 1ad7e77f..0609bb5f 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);