Fix post hiding buttons
This commit is contained in:
parent
c7b044cc8e
commit
3eb1ae0110
@ -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',
|
||||
|
||||
@ -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',
|
||||
|
||||
@ -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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user