diff options
author | Andrew Dolgov <[email protected]> | 2010-11-11 12:19:28 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-11 12:19:28 +0300 |
commit | 5ae8f858a96c5cee498202ac372fe02aba9198b1 (patch) | |
tree | ec2bd533ef42fa95337160352c6a59aa30a28569 /viewfeed.js | |
parent | 3505baeb1404bd8cd0e8b491cad7dc87620c5064 (diff) |
fix frontend not knowing about always expanded cdm
Diffstat (limited to 'viewfeed.js')
-rw-r--r-- | viewfeed.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/viewfeed.js b/viewfeed.js index 4dacb2003..0551de9ae 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -164,7 +164,7 @@ function headlines_callback2(transport, feed_cur_page) { } else { if (headlines) { if (headlines_count > 0) { - console.warn("adding some more headlines..."); + console.log("adding some more headlines..."); var c = $("headlinesList"); @@ -2088,7 +2088,7 @@ function cdmExpandArticle(id) { var old_offset = $("RROW-" + id).offsetTop; - if (active_post_id && elem) { + if (active_post_id && elem && !getInitParam("cdm_expanded")) { Element.hide(elem); Element.show("CEXC-" + active_post_id); } |