From: Andrew Dolgov Date: Mon, 9 Apr 2012 07:58:14 +0000 (+0400) Subject: disable catchup of visible headlines on viewfeed() X-Git-Tag: 1.5.11~11 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e2d1c16ed160909059d877b69aad8153f7196b6d;p=tt-rss.git disable catchup of visible headlines on viewfeed() --- diff --git a/js/feedlist.js b/js/feedlist.js index 02057c06..a2a24d0e 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)