diff --git a/4chan_x.user.js b/4chan_x.user.js index 6e6054ff2..86d0a3638 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -3131,7 +3131,7 @@ expandComment.init(); } } - nodes = $$('.op').concat($$('a + table')); + nodes = $$('.op, a + table'); g.callbacks.forEach(function(callback) { return nodes.forEach(callback); }); diff --git a/script.coffee b/script.coffee index 787716f27..bf14dd630 100644 --- a/script.coffee +++ b/script.coffee @@ -2369,7 +2369,7 @@ Main = if conf['Comment Expansion'] expandComment.init() - nodes = $$('.op').concat $$ 'a + table' + nodes = $$ '.op, a + table' g.callbacks.forEach (callback) -> nodes.forEach callback $.bind $('form[name=delform]'), 'DOMNodeInserted', nodeInserted options.init()