diff --git a/4chan_x.user.js b/4chan_x.user.js index 919f54ff2..afc07513f 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -3115,7 +3115,7 @@ } return g.callbacks.forEach(function(callback) { try { - return nodes.forEach(callback); + return callback(target); } catch (err) { } diff --git a/script.coffee b/script.coffee index ec9615d5b..f4cd17c7d 100644 --- a/script.coffee +++ b/script.coffee @@ -2378,7 +2378,7 @@ Main = return unless target.nodeName is 'TABLE' g.callbacks.forEach (callback) -> try - nodes.forEach callback + callback target catch err #nothing