]> git.wh0rd.org - tt-rss.git/commitdiff
unpackVisibleHeadlines: do nothing if not in cdm
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 25 Mar 2013 10:15:22 +0000 (14:15 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 25 Mar 2013 10:15:22 +0000 (14:15 +0400)
js/viewfeed.js

index 485ee36063300a6851ebaa0895de870d1a679be7..a5d0947bdc47ef78e10e4e0590f553fde2cbe2a7 100644 (file)
@@ -1177,6 +1177,8 @@ function postMouseOut(id) {
 function unpackVisibleHeadlines() {
        try {
 
+               if (!isCdmMode()) return;
+
                $$("#headlines-frame > div[id*=RROW]").each(
                        function(child) {
                                if (child.offsetTop <= $("headlines-frame").scrollTop +