From 09aa8995dccfc52b2462b4066ec5d1223dddf872 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 28 Dec 2010 08:35:33 +0300 Subject: [PATCH] do not try to reinject new headline buffer when marking articles as read --- viewfeed.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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()); -- 2.39.5