From 19b906b94bc6c53af01484bb7d02c8199d210cf0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 6 Jun 2013 10:09:02 +0400 Subject: [PATCH] block automarking headlines on scroll in unexpanded cdm because it doesn't work so well --- js/viewfeed.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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++) { -- 2.39.5