summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/bug')
-rw-r--r--template/en/default/bug/comments.html.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl
index 576b3f850..177c6f985 100644
--- a/template/en/default/bug/comments.html.tmpl
+++ b/template/en/default/bug/comments.html.tmpl
@@ -71,13 +71,13 @@
function collapse_comment(link, comment) {
link.innerHTML = "[+]";
link.title = "Expand the comment.";
- comment.className = "collapsed";
+ YAHOO.util.Dom.addClass(comment, 'collapsed');
}
function expand_comment(link, comment) {
link.innerHTML = "[-]";
link.title = "Collapse the comment";
- comment.className = "";
+ YAHOO.util.Dom.removeClass(comment, 'collapsed');
}
/* This way, we are sure that browsers which do not support JS