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