From: Andrew Dolgov Date: Thu, 6 Jun 2013 06:09:02 +0000 (+0400) Subject: block automarking headlines on scroll in unexpanded cdm because it doesn't work so... X-Git-Tag: 1.8~22 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=19b906b94bc6c53af01484bb7d02c8199d210cf0;p=tt-rss.git block automarking headlines on scroll in unexpanded cdm because it doesn't work so well --- diff --git a/js/viewfeed.js b/js/viewfeed.js index eee6bf76..37bdeb68 100644 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -1269,7 +1269,8 @@ function headlines_scroll_handler(e) { unpackVisibleHeadlines(); // set topmost child in the buffer as active - if (getInitParam("cdm_auto_catchup") == 1) { + if (getInitParam("cdm_auto_catchup") == 1 && + (!isCdmMode() || getInitParam("cdm_expanded"))) { var rows = $$("#headlines-frame > div[id*=RROW]"); for (var i = 0; i < rows.length; i++) {