From: Andrew Dolgov Date: Mon, 25 Mar 2013 10:15:22 +0000 (+0400) Subject: unpackVisibleHeadlines: do nothing if not in cdm X-Git-Tag: 1.7.6~306 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=4401813325c8b11ecbc349ac6431948e12e4a629;p=tt-rss.git unpackVisibleHeadlines: do nothing if not in cdm --- diff --git a/js/viewfeed.js b/js/viewfeed.js index 485ee360..a5d0947b 100644 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -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 +