From 293943c5b6a44c4d8a4c742b52a9da299b018f32 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Wed, 28 Sep 2011 19:34:47 +0200 Subject: [PATCH] Call me when there will be more than one input element in the OP. --- 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 ecbaa485a..f30a4d457 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1801,7 +1801,7 @@ node = op.nextSibling; } $.add(op, node); - op.id = $('input[name]', op).name; + op.id = $('input', op).name; return op; }, thread: function(node) { diff --git a/script.coffee b/script.coffee index a4de72b23..21a4347b7 100644 --- a/script.coffee +++ b/script.coffee @@ -1328,7 +1328,7 @@ threading = $.add op, node node = op.nextSibling $.add op, node #add the blockquote - op.id = $('input[name]', op).name + op.id = $('input', op).name op thread: (node) ->