From f1742941e65eb61536053527f36eb71115736584 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Mon, 5 Mar 2012 19:11:30 +0100 Subject: [PATCH] Typo, kinda. --- 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 163816960..1ca174296 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -4021,7 +4021,7 @@ if (addedNode.nodeName === 'TABLE') nodes.push(Main.preParse(addedNode)); } } - if (posts.length) return Main.node(nodes); + if (nodes.length) return Main.node(nodes); }, listener: function(e) { var target; diff --git a/script.coffee b/script.coffee index e4fa51504..041630193 100644 --- a/script.coffee +++ b/script.coffee @@ -3313,7 +3313,7 @@ Main = for mutation in mutations for addedNode in mutation.addedNodes nodes.push Main.preParse addedNode if addedNode.nodeName is 'TABLE' - Main.node nodes if posts.length + Main.node nodes if nodes.length listener: (e) -> {target} = e Main.node [Main.preParse target] if target.nodeName is 'TABLE'