summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'js/comments.js')
-rw-r--r--js/comments.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/comments.js b/js/comments.js
index 43e6fe96e..5a7bd5ebd 100644
--- a/js/comments.js
+++ b/js/comments.js
@@ -54,13 +54,13 @@ function toggle_all_comments(action) {
}
function collapse_comment(link, comment, comment_id) {
- link.innerHTML = "[+]";
+ link.innerHTML = "<i class='fas fa-plus'></i>";
YAHOO.util.Dom.addClass(comment, 'collapsed');
YAHOO.util.Dom.addClass('comment_tag_' + comment_id, 'collapsed');
}
function expand_comment(link, comment, comment_id) {
- link.innerHTML = "[&minus;]";
+ link.innerHTML = "<i class='fas fa-minus'></i>";
YAHOO.util.Dom.addClass('cr' + comment_id, 'collapsed');
YAHOO.util.Dom.removeClass('c' + comment_id, 'bz_default_collapsed');
YAHOO.util.Dom.removeClass(comment, 'collapsed');
@@ -121,8 +121,8 @@ function addCollapseLink(count, collapsed, title) {
document.write(' <a href="#" class="bz_collapse_comment"' +
' id="comment_link_' + count +
'" onclick="toggle_comment_display(this, ' + count +
- '); return false;" title="' + title + '">[' +
- (collapsed ? '+' : '&minus;') + ']<\/a> ');
+ '); return false;" title="' + title + '"><i class="fas fa-' +
+ (collapsed ? 'plus' : 'minus') + '"></i><\/a> ');
}
function goto_add_comments( anchor ){