diff --git a/src/Filtering/PostHiding.coffee b/src/Filtering/PostHiding.coffee index fc6e302d3..0c0d00660 100644 --- a/src/Filtering/PostHiding.coffee +++ b/src/Filtering/PostHiding.coffee @@ -111,10 +111,12 @@ PostHiding = $.event 'CloseMenu' makeButton: (post, type) -> + span = $.el 'span', + textContent: "[\u00A0#{if type is 'hide' then '-' else '+'}\u00A0]" a = $.el 'a', className: "#{type}-reply-button" - innerHTML: "[ #{if type is 'hide' then '-' else '+'} ]" href: 'javascript:;' + $.add a, span $.on a, 'click', PostHiding.toggle a