]> git.wh0rd.org - tt-rss.git/commitdiff
do not unpack all visible headlines in collapsed mode because those are unpacked...
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 21 Oct 2013 12:55:36 +0000 (16:55 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 21 Oct 2013 12:55:36 +0000 (16:55 +0400)
js/viewfeed.js

index 301260f135b69b11f7dd18f257c27f4a006e0ea7..3295182fc90af7fdb03b30bae1d216a8172655f4 100644 (file)
@@ -1245,7 +1245,7 @@ function postMouseOut(id) {
 
 function unpackVisibleHeadlines() {
        try {
-               if (!isCdmMode()) return;
+               if (!isCdmMode() || !getInitParam("cdm_expanded")) return;
 
                $$("#headlines-frame > div[id*=RROW]").each(
                        function(child) {