diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index 92840647f..bdc8b7854 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -6465,8 +6465,8 @@ makeButton: function(post, type) { var a, span; span = $.el('span', { - className: "fa fa-" + (type === 'hide' ? 'minus' : 'plus') + "-square-o", - textContent: "" + className: "fa", + textContent: "" + (type === 'hide' ? '\uf068' : '\uf067') }); a = $.el('a', { className: "" + type + "-reply-button", @@ -6821,7 +6821,7 @@ var a; a = $.el('a', { className: "" + type + "-thread-button", - innerHTML: "", + innerHTML: "" + (type === 'hide' ? '\uf068' : '\uf067') + "", href: 'javascript:;' }); a.dataset.fullID = thread.fullID; diff --git a/builds/crx/script.js b/builds/crx/script.js index a64ae8c74..cf8228f67 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -6468,8 +6468,8 @@ makeButton: function(post, type) { var a, span; span = $.el('span', { - className: "fa fa-" + (type === 'hide' ? 'minus' : 'plus') + "-square-o", - textContent: "" + className: "fa", + textContent: "" + (type === 'hide' ? '\uf068' : '\uf067') }); a = $.el('a', { className: "" + type + "-reply-button", @@ -6824,7 +6824,7 @@ var a; a = $.el('a', { className: "" + type + "-thread-button", - innerHTML: "", + innerHTML: "" + (type === 'hide' ? '\uf068' : '\uf067') + "", href: 'javascript:;' }); a.dataset.fullID = thread.fullID; diff --git a/src/Filtering/PostHiding.coffee b/src/Filtering/PostHiding.coffee index 6456cab4c..3f7f22dfa 100644 --- a/src/Filtering/PostHiding.coffee +++ b/src/Filtering/PostHiding.coffee @@ -153,8 +153,8 @@ PostHiding = makeButton: (post, type) -> span = $.el 'span', - className: "fa fa-#{if type is 'hide' then 'minus' else 'plus'}-square-o" - textContent: "" + className: "fa" + textContent: "#{if type is 'hide' then '\uf068' else '\uf067'}" a = $.el 'a', className: "#{type}-reply-button" href: 'javascript:;' diff --git a/src/Filtering/ThreadHiding.coffee b/src/Filtering/ThreadHiding.coffee index a43871d7a..b87ed9e03 100644 --- a/src/Filtering/ThreadHiding.coffee +++ b/src/Filtering/ThreadHiding.coffee @@ -146,7 +146,7 @@ ThreadHiding = makeButton: (thread, type) -> a = $.el 'a', className: "#{type}-thread-button" - innerHTML: "" + innerHTML: "#{if type is 'hide' then '\uf068' else '\uf067'}" href: 'javascript:;' a.dataset.fullID = thread.fullID $.on a, 'click', ThreadHiding.toggle