css braces

This commit is contained in:
James Campos 2012-06-12 09:45:56 -07:00
parent 8ec03036aa
commit a9d285f717
2 changed files with 14 additions and 2 deletions

View File

@ -3421,7 +3421,7 @@
init: function() { init: function() {
this.a = $.el('a', { this.a = $.el('a', {
className: 'delete_button', className: 'delete_button',
innerHTML: '[ × ]', innerHTML: '×',
href: 'javascript:;' href: 'javascript:;'
}); });
return Main.callbacks.push(this.node); return Main.callbacks.push(this.node);
@ -4738,6 +4738,12 @@ div.opContainer {\
text-decoration: none;\ text-decoration: none;\
border-bottom: 1px dashed;\ border-bottom: 1px dashed;\
}\ }\
.delete_button::before {\
content: "[ "\
}\
.delete_button::after {\
content: " ]"\
}\
' '
}; };

View File

@ -2610,7 +2610,7 @@ DeleteButton =
init: -> init: ->
@a = $.el 'a', @a = $.el 'a',
className: 'delete_button' className: 'delete_button'
innerHTML: '[ × ]' innerHTML: '×'
href: 'javascript:;' href: 'javascript:;'
Main.callbacks.push @node Main.callbacks.push @node
node: (post) -> node: (post) ->
@ -3696,6 +3696,12 @@ div.opContainer {
text-decoration: none; text-decoration: none;
border-bottom: 1px dashed; border-bottom: 1px dashed;
} }
.delete_button::before {
content: "[ "
}
.delete_button::after {
content: " ]"
}
' '
Main.init() Main.init()