diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index 3c369d106..cd8cc4d1e 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -6938,12 +6938,14 @@ init: function() { this.db = new DataBoard('hiddenPosts'); this.hideButton = $.el('a', { - className: 'hide-post-button fa fa-minus-square-o', - href: 'javascript:;' + className: 'hide-post-button fa', + href: 'javascript:;', + textContent: '\uf147' }); this.showButton = $.el('a', { - className: 'show-post-button fa fa-plus-square-o', - href: 'javascript:;' + className: 'show-post-button fa', + href: 'javascript:;', + textContext: '\uf196' }); Post.callbacks.push({ name: 'Post Hiding', diff --git a/builds/crx/script.js b/builds/crx/script.js index 3bd1fe940..7480658c4 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -6989,12 +6989,14 @@ init: function() { this.db = new DataBoard('hiddenPosts'); this.hideButton = $.el('a', { - className: 'hide-post-button fa fa-minus-square-o', - href: 'javascript:;' + className: 'hide-post-button fa', + href: 'javascript:;', + textContent: '\uf147' }); this.showButton = $.el('a', { - className: 'show-post-button fa fa-plus-square-o', - href: 'javascript:;' + className: 'show-post-button fa', + href: 'javascript:;', + textContext: '\uf196' }); Post.callbacks.push({ name: 'Post Hiding', diff --git a/src/Filtering/PostHiding.coffee b/src/Filtering/PostHiding.coffee index eff727c9b..93ae4ac9c 100644 --- a/src/Filtering/PostHiding.coffee +++ b/src/Filtering/PostHiding.coffee @@ -2,11 +2,13 @@ PostHiding = init: -> @db = new DataBoard 'hiddenPosts' @hideButton = $.el 'a', - className: 'hide-post-button fa fa-minus-square-o' + className: 'hide-post-button fa' href: 'javascript:;' + textContent: '\uf147' @showButton = $.el 'a', - className: 'show-post-button fa fa-plus-square-o' + className: 'show-post-button fa' href: 'javascript:;' + textContext: '\uf196' Post.callbacks.push name: 'Post Hiding'