From: Andrew Dolgov Date: Tue, 28 Dec 2010 05:35:33 +0000 (+0300) Subject: do not try to reinject new headline buffer when marking articles as read X-Git-Tag: 1.5.1~22 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=09aa8995dccfc52b2462b4066ec5d1223dddf872;p=tt-rss.git do not try to reinject new headline buffer when marking articles as read --- diff --git a/viewfeed.js b/viewfeed.js index fe81aad6..fb562c5f 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -256,17 +256,17 @@ function showArticleInHeadlines(id) { cache_invalidate(cache_prefix + getActiveFeedId()); - cache_inject(cache_prefix + getActiveFeedId(), + /* cache_inject(cache_prefix + getActiveFeedId(), $("headlines-frame").innerHTML, - getFeedUnread(getActiveFeedId())); + getFeedUnread(getActiveFeedId())); */ } else if (article_is_unread && view_mode == "all_articles") { cache_invalidate(cache_prefix + getActiveFeedId()); - cache_inject(cache_prefix + getActiveFeedId(), + /* cache_inject(cache_prefix + getActiveFeedId(), $("headlines-frame").innerHTML, - getFeedUnread(getActiveFeedId())-1); + getFeedUnread(getActiveFeedId())-1); */ } else if (article_is_unread) { cache_invalidate(cache_prefix + getActiveFeedId());