This commit is contained in:
Zixaphir 2014-01-19 05:21:06 -07:00
parent b82ba8b620
commit bec7045024
4 changed files with 9 additions and 9 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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:;'

View File

@ -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