summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-07-09 12:34:57 +0400
committerAndrew Dolgov <[email protected]>2013-07-09 12:34:57 +0400
commit03304fda542518936f1056700cdf4f23d1953ddb (patch)
treed8f3ea1da86b645df65a7edaf7a182e93e70e93e /js
parent8cf72d075bca501480529e7a8dbedb12e126adf8 (diff)
if multiple articles are selected, do not reset active article / selection on scroll if auto catchup is enabled
Diffstat (limited to 'js')
-rw-r--r--js/viewfeed.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/viewfeed.js b/js/viewfeed.js
index 5875a9e48..0cdb09425 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]");