do not try to reinject new headline buffer when marking articles as read

This commit is contained in:
Andrew Dolgov 2010-12-28 08:35:33 +03:00
parent 476edbbb5f
commit 09aa8995dc
1 changed files with 4 additions and 4 deletions

View File

@ -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());