From a469bc7e095bb0eb51b5e8be4c017ade3d4b6d80 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 12 Dec 2011 00:05:02 +0400 Subject: [PATCH] disable cdm auto catchup on viewfeed() in normal mode --- js/feedlist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {