From e2d1c16ed160909059d877b69aad8153f7196b6d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 9 Apr 2012 11:58:14 +0400 Subject: [PATCH] disable catchup of visible headlines on viewfeed() --- js/feedlist.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/feedlist.js b/js/feedlist.js index 02057c06a..a2a24d0e0 100644 --- a/js/feedlist.js +++ b/js/feedlist.js @@ -71,7 +71,8 @@ function viewfeed(feed, method, 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 && isCdmMode() && getInitParam("cdm_auto_catchup") == 1 && parseInt(getActiveFeedId()) > 0) { + // disabled for now because this behavior is considered confusing -fox + /* if (!background && isCdmMode() && getInitParam("cdm_auto_catchup") == 1 && parseInt(getActiveFeedId()) > 0) { $$("#headlines-frame > div[id*=RROW][class*=Unread]").each( function(child) { @@ -97,7 +98,7 @@ function viewfeed(feed, method, is_cat, offset, background, infscroll_req) { } }); - } + } */ } if (offset == 0 && !background)