]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 758148 - Comment toggling link should use − so that its width stays constant.
authorMarc Schumann <wurblzap@gmail.com>
Tue, 29 May 2012 16:27:44 +0000 (18:27 +0200)
committerMarc Schumann <wurblzap@gmail.com>
Tue, 29 May 2012 16:27:44 +0000 (18:27 +0200)
r/a=LpSolit

js/comments.js

index ce61f6ba071cfabf0681dab94b7facf1f9aedccf..acf5dbf9bbc9401691d6138842d941e68afc8a84 100644 (file)
@@ -56,7 +56,7 @@ function collapse_comment(link, comment) {
 }
 
 function expand_comment(link, comment) {
-    link.innerHTML = "[-]";
+    link.innerHTML = "[&minus;]";
     YAHOO.util.Dom.removeClass(comment, 'collapsed');
 }
 
@@ -114,7 +114,7 @@ function addCollapseLink(count, title) {
     document.write(' <a href="#" class="bz_collapse_comment"' +
                    ' id="comment_link_' + count +
                    '" onclick="toggle_comment_display(this, ' +  count +
-                   '); return false;" title="' + title + '">[-]<\/a> ');
+                   '); return false;" title="' + title + '">[&minus;]<\/a> ');
 }
 
 function goto_add_comments( anchor ){