]> git.wh0rd.org Git - tt-rss.git/commitdiff
block automarking headlines on scroll in unexpanded cdm because it doesn't work so...
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 6 Jun 2013 06:09:02 +0000 (10:09 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 6 Jun 2013 06:09:02 +0000 (10:09 +0400)
js/viewfeed.js

index eee6bf766980f4e651c6c2dd661edff8aa4495d0..37bdeb684544d79dae891fa15e50438af0af7fa3 100644 (file)
@@ -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++) {