diff --git a/4chan_x.user.js b/4chan_x.user.js index a535d1901..3eb88cc44 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -3421,7 +3421,7 @@ init: function() { this.a = $.el('a', { className: 'delete_button', - innerHTML: '[ × ]', + innerHTML: '×', href: 'javascript:;' }); return Main.callbacks.push(this.node); @@ -4738,6 +4738,12 @@ div.opContainer {\ text-decoration: none;\ border-bottom: 1px dashed;\ }\ +.delete_button::before {\ + content: "[ "\ +}\ +.delete_button::after {\ + content: " ]"\ +}\ ' }; diff --git a/script.coffee b/script.coffee index b5dd13192..89a33333e 100644 --- a/script.coffee +++ b/script.coffee @@ -2610,7 +2610,7 @@ DeleteButton = init: -> @a = $.el 'a', className: 'delete_button' - innerHTML: '[ × ]' + innerHTML: '×' href: 'javascript:;' Main.callbacks.push @node node: (post) -> @@ -3696,6 +3696,12 @@ div.opContainer { text-decoration: none; border-bottom: 1px dashed; } +.delete_button::before { + content: "[ " +} +.delete_button::after { + content: " ]" +} ' Main.init()