From cb26dfa97bd4304a3991411a86d3f5be1d414541 Mon Sep 17 00:00:00 2001 From: James Campos Date: Tue, 11 Oct 2011 16:08:03 -0700 Subject: [PATCH] herpes --- 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 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