Commit 18f5eb17 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 512616: "collapse/expand comment" removes css-class 'bz_comment_text' -…

Bug 512616: "collapse/expand comment" removes css-class 'bz_comment_text' - Patch by nayuta <ganaware+bugzilla+mozilla+org@gmail.com> r=pyrzak a=LpSolit
parent cd86036b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment