]> git.wh0rd.org Git - tt-rss.git/commitdiff
do not try to reinject new headline buffer when marking articles as read
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 28 Dec 2010 05:35:33 +0000 (08:35 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 28 Dec 2010 05:35:33 +0000 (08:35 +0300)
viewfeed.js

index fe81aad63dd84e4d8ae89fdf0a1fd6df12b2db04..fb562c5f79667ea4f83aa184ff4bd4c51bd50e9c 100644 (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());