block automarking headlines on scroll in unexpanded cdm because it doesn't work so well

This commit is contained in:
Andrew Dolgov 2013-06-06 10:09:02 +04:00
parent 0e70e4a42e
commit 19b906b94b

View File

@ -1269,7 +1269,8 @@ function headlines_scroll_handler(e) {
unpackVisibleHeadlines(); unpackVisibleHeadlines();
// set topmost child in the buffer as active // 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]"); var rows = $$("#headlines-frame > div[id*=RROW]");
for (var i = 0; i < rows.length; i++) { for (var i = 0; i < rows.length; i++) {