From: Andrew Dolgov Date: Sun, 11 Dec 2011 20:05:02 +0000 (+0400) Subject: disable cdm auto catchup on viewfeed() in normal mode X-Git-Tag: 1.5.8~28 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a469bc7e095bb0eb51b5e8be4c017ade3d4b6d80;p=tt-rss.git disable cdm auto catchup on viewfeed() in normal mode --- diff --git a/js/feedlist.js b/js/feedlist.js index 62c44b49..eaaeaad8 100644 --- a/js/feedlist.js +++ b/js/feedlist.js @@ -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) {