Fix post hiding buttons
This commit is contained in:
parent
c7b044cc8e
commit
3eb1ae0110
@ -6938,12 +6938,14 @@
|
|||||||
init: function() {
|
init: function() {
|
||||||
this.db = new DataBoard('hiddenPosts');
|
this.db = new DataBoard('hiddenPosts');
|
||||||
this.hideButton = $.el('a', {
|
this.hideButton = $.el('a', {
|
||||||
className: 'hide-post-button fa fa-minus-square-o',
|
className: 'hide-post-button fa',
|
||||||
href: 'javascript:;'
|
href: 'javascript:;',
|
||||||
|
textContent: '\uf147'
|
||||||
});
|
});
|
||||||
this.showButton = $.el('a', {
|
this.showButton = $.el('a', {
|
||||||
className: 'show-post-button fa fa-plus-square-o',
|
className: 'show-post-button fa',
|
||||||
href: 'javascript:;'
|
href: 'javascript:;',
|
||||||
|
textContext: '\uf196'
|
||||||
});
|
});
|
||||||
Post.callbacks.push({
|
Post.callbacks.push({
|
||||||
name: 'Post Hiding',
|
name: 'Post Hiding',
|
||||||
|
|||||||
@ -6989,12 +6989,14 @@
|
|||||||
init: function() {
|
init: function() {
|
||||||
this.db = new DataBoard('hiddenPosts');
|
this.db = new DataBoard('hiddenPosts');
|
||||||
this.hideButton = $.el('a', {
|
this.hideButton = $.el('a', {
|
||||||
className: 'hide-post-button fa fa-minus-square-o',
|
className: 'hide-post-button fa',
|
||||||
href: 'javascript:;'
|
href: 'javascript:;',
|
||||||
|
textContent: '\uf147'
|
||||||
});
|
});
|
||||||
this.showButton = $.el('a', {
|
this.showButton = $.el('a', {
|
||||||
className: 'show-post-button fa fa-plus-square-o',
|
className: 'show-post-button fa',
|
||||||
href: 'javascript:;'
|
href: 'javascript:;',
|
||||||
|
textContext: '\uf196'
|
||||||
});
|
});
|
||||||
Post.callbacks.push({
|
Post.callbacks.push({
|
||||||
name: 'Post Hiding',
|
name: 'Post Hiding',
|
||||||
|
|||||||
@ -2,11 +2,13 @@ PostHiding =
|
|||||||
init: ->
|
init: ->
|
||||||
@db = new DataBoard 'hiddenPosts'
|
@db = new DataBoard 'hiddenPosts'
|
||||||
@hideButton = $.el 'a',
|
@hideButton = $.el 'a',
|
||||||
className: 'hide-post-button fa fa-minus-square-o'
|
className: 'hide-post-button fa'
|
||||||
href: 'javascript:;'
|
href: 'javascript:;'
|
||||||
|
textContent: '\uf147'
|
||||||
@showButton = $.el 'a',
|
@showButton = $.el 'a',
|
||||||
className: 'show-post-button fa fa-plus-square-o'
|
className: 'show-post-button fa'
|
||||||
href: 'javascript:;'
|
href: 'javascript:;'
|
||||||
|
textContext: '\uf196'
|
||||||
|
|
||||||
Post.callbacks.push
|
Post.callbacks.push
|
||||||
name: 'Post Hiding'
|
name: 'Post Hiding'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user