]> git.wh0rd.org - tt-rss.git/commitdiff
disable cdm auto catchup on viewfeed() in normal mode
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 11 Dec 2011 20:05:02 +0000 (00:05 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 11 Dec 2011 20:05:02 +0000 (00:05 +0400)
js/feedlist.js

index 62c44b494c8186d3f688116a4fd126aa4c38925d..eaaeaad812b5ab004e0f411473d5d8de4085cf97 100644 (file)
@@ -71,7 +71,7 @@ function viewfeed(feed, subop, is_cat, offset, background, infscroll_req) {
 
                        // switching to a different feed, we might as well catchup stuff visible
                        // in headlines buffer (if any)
-                       if (!background && getInitParam("cdm_auto_catchup") == 1 && parseInt(getActiveFeedId()) > 0) {
+                       if (!background && isCdmMode() && getInitParam("cdm_auto_catchup") == 1 && parseInt(getActiveFeedId()) > 0) {
 
                                $$("#headlines-frame > div[id*=RROW][class*=Unread]").each(
                                        function(child) {