summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-25 14:15:22 +0400
committerAndrew Dolgov <[email protected]>2013-03-25 14:15:22 +0400
commit4401813325c8b11ecbc349ac6431948e12e4a629 (patch)
treee0a1ef593b8c25275a9583cdba30f6f6639afd82 /js
parent62b1f587ab6452136f6fe914d2d7545b43ffe5a8 (diff)
unpackVisibleHeadlines: do nothing if not in cdm
Diffstat (limited to 'js')
-rw-r--r--js/viewfeed.js2
1 files changed, 2 insertions, 0 deletions
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 +