diff options
author | Andrew Dolgov <[email protected]> | 2013-03-25 14:15:22 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-25 14:15:22 +0400 |
commit | 4401813325c8b11ecbc349ac6431948e12e4a629 (patch) | |
tree | e0a1ef593b8c25275a9583cdba30f6f6639afd82 /js/viewfeed.js | |
parent | 62b1f587ab6452136f6fe914d2d7545b43ffe5a8 (diff) |
unpackVisibleHeadlines: do nothing if not in cdm
Diffstat (limited to 'js/viewfeed.js')
-rw-r--r-- | js/viewfeed.js | 2 |
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 + |