diff options
Diffstat (limited to 'viewfeed.js')
-rw-r--r-- | viewfeed.js | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/viewfeed.js b/viewfeed.js index 713cc7e44..73417c3d5 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -1505,9 +1505,11 @@ function getActiveArticleId() { return active_post_id; } -function cdmClicked(elem) { +function cdmClicked(id) { try { - if (elem.id && elem.id.match("RROW-")) { + var elem = document.getElementById("RROW-" + id); + + if (elem) { var id = elem.id.replace("RROW-", ""); active_post_id = id; @@ -1703,6 +1705,10 @@ function cdmExpandArticle(a_id) { try { var id = 'CICD-' + a_id; + try { + Element.hide("CEXC-" + a_id); + } catch (e) { } + Effect.Appear(id, {duration : 0.5, beforeStart: function(effect) { var h_id = 'CICH-' + a_id; |