From c35324d46eee117490dbf48a42ee33f2408e4a26 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Wed, 28 Sep 2011 19:24:15 +0200 Subject: [PATCH] Derp, threading.init is always executed first. --- 4chan_x.user.js | 4 +--- script.coffee | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index c8fa69a00..ecbaa485a 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1788,9 +1788,7 @@ }; threading = { init: function() { - var node; - node = $('form[name=delform] > *:not([id])'); - return threading.thread(node); + return threading.thread($('body > form').firstChild); }, op: function(node) { var op; diff --git a/script.coffee b/script.coffee index 2d6340813..a4de72b23 100644 --- a/script.coffee +++ b/script.coffee @@ -1318,9 +1318,7 @@ QR = threading = init: -> - # don't thread image controls - node = $ 'form[name=delform] > *:not([id])' - threading.thread node + threading.thread $('body > form').firstChild op: (node) -> op = $.el 'div',