From a9d285f7174cf26de3ec3cd62770f2f7041ea035 Mon Sep 17 00:00:00 2001 From: James Campos Date: Tue, 12 Jun 2012 09:45:56 -0700 Subject: [PATCH] css braces --- 4chan_x.user.js | 8 +++++++- script.coffee | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) 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()