From b6eb95f3db662f7dab509f00b05aa288fd7b541b Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Wed, 11 May 2011 17:04:19 +0200 Subject: [PATCH] Should actually be better. I'm all confused. --- 4chan_x.js | 2 +- script.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/4chan_x.js b/4chan_x.js index d770f7e1e..b5184f4a1 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -607,7 +607,7 @@ if (!(dd = $('td.doubledash', root))) { return; } - $.addClass(dd, 'replyhider'); + dd.className = 'replyhider'; a = $.el('a', { textContent: '[ - ]' }); diff --git a/script.coffee b/script.coffee index 0bfdfa232..bd910af22 100644 --- a/script.coffee +++ b/script.coffee @@ -430,7 +430,7 @@ replyHiding = node: (root) -> return unless dd = $ 'td.doubledash', root - $.addClass dd, 'replyhider' + dd.className = 'replyhider' a = $.el 'a', textContent: '[ - ]' $.bind a, 'click', replyHiding.cb.hide