From 03304fda542518936f1056700cdf4f23d1953ddb Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 9 Jul 2013 12:34:57 +0400 Subject: [PATCH] if multiple articles are selected, do not reset active article / selection on scroll if auto catchup is enabled --- js/viewfeed.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/viewfeed.js b/js/viewfeed.js index 5875a9e4..0cdb0942 100644 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -1274,6 +1274,7 @@ function headlines_scroll_handler(e) { // set topmost child in the buffer as active if (getInitParam("cdm_auto_catchup") == 1 && + getSelectedArticleIds2().length <= 1 && (!isCdmMode() || getInitParam("cdm_expanded"))) { var rows = $$("#headlines-frame > div[id*=RROW]"); -- 2.39.2