Fix #543
This commit is contained in:
parent
b82ba8b620
commit
bec7045024
@ -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: "<span class='fa fa-" + (type === 'hide' ? 'minus' : 'plus') + "-square'></span>",
|
||||
innerHTML: "<span class=fa>" + (type === 'hide' ? '\uf068' : '\uf067') + "</span>",
|
||||
href: 'javascript:;'
|
||||
});
|
||||
a.dataset.fullID = thread.fullID;
|
||||
|
||||
@ -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: "<span class='fa fa-" + (type === 'hide' ? 'minus' : 'plus') + "-square'></span>",
|
||||
innerHTML: "<span class=fa>" + (type === 'hide' ? '\uf068' : '\uf067') + "</span>",
|
||||
href: 'javascript:;'
|
||||
});
|
||||
a.dataset.fullID = thread.fullID;
|
||||
|
||||
@ -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:;'
|
||||
|
||||
@ -146,7 +146,7 @@ ThreadHiding =
|
||||
makeButton: (thread, type) ->
|
||||
a = $.el 'a',
|
||||
className: "#{type}-thread-button"
|
||||
innerHTML: "<span class='fa fa-#{if type is 'hide' then 'minus' else 'plus'}-square'></span>"
|
||||
innerHTML: "<span class=fa>#{if type is 'hide' then '\uf068' else '\uf067'}</span>"
|
||||
href: 'javascript:;'
|
||||
a.dataset.fullID = thread.fullID
|
||||
$.on a, 'click', ThreadHiding.toggle
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user