From 4401813325c8b11ecbc349ac6431948e12e4a629 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 25 Mar 2013 14:15:22 +0400 Subject: [PATCH] unpackVisibleHeadlines: do nothing if not in cdm --- js/viewfeed.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/viewfeed.js b/js/viewfeed.js index 485ee3606..a5d0947bd 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 +