]> git.wh0rd.org Git - tt-rss.git/commitdiff
decrementFeedCounter: remove stored cache instead
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 9 Jul 2012 08:21:19 +0000 (12:21 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 9 Jul 2012 08:21:19 +0000 (12:21 +0400)
js/feedlist.js

index 9cebc25f2db10a7549a49b460302546435382629..13cdc2694da5dbba0258d8e6b1cccb8b2daa005f 100644 (file)
@@ -562,8 +562,7 @@ function decrementFeedCounter(feed, is_cat) {
                        }
                }
 
-               cache_headlines(feed, is_cat,
-                       $("headlines-toolbar").innerHTML, $("headlines-frame").innerHTML);
+               cache_delete("feed:" + feed + ":" + is_cat);
 
        } catch (e) {
                exception_error("decrement_feed_counter", e);