From 2490b9c7d24941e869bb5c2dc0128ddb28dd9a90 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Sun, 9 Oct 2011 23:06:36 +0200 Subject: [PATCH] Don't use the universal selector. --- 4chan_x.user.js | 2 +- script.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index a39c87c70..2bcda0c2a 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2573,7 +2573,7 @@ innerHTML: req.responseText }); if (id === threadID) { - op = threading.op($('form[name=delform] > *', body)); + op = threading.op($('body > form', body).firstChild); html = op.innerHTML; } else { _ref = $$('td.reply', body); diff --git a/script.coffee b/script.coffee index b72438ec2..f435e1110 100644 --- a/script.coffee +++ b/script.coffee @@ -1900,7 +1900,7 @@ quotePreview = body = $.el 'body', innerHTML: req.responseText if id == threadID #OP - op = threading.op $ 'form[name=delform] > *', body + op = threading.op $('body > form', body).firstChild html = op.innerHTML else for reply in $$ 'td.reply', body