From 4e5dfcebe7a4abb8f08428956c18c345b5647c1e Mon Sep 17 00:00:00 2001 From: James Campos Date: Sat, 7 May 2011 19:09:42 -0700 Subject: [PATCH] contain yourself --- 4chan_x.js | 4 ++-- script.coffee | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/4chan_x.js b/4chan_x.js index 4d56c7d2f..8274de2b4 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -1666,9 +1666,9 @@ $.hide(preview); return $.append(d.body, preview); }, - node: function() { + node: function(root) { var quote, quotes, _i, _len, _results; - quotes = $$('a.quotelink'); + quotes = $$('a.quotelink', root); _results = []; for (_i = 0, _len = quotes.length; _i < _len; _i++) { quote = quotes[_i]; diff --git a/script.coffee b/script.coffee index d1ce64606..d3f1720f7 100644 --- a/script.coffee +++ b/script.coffee @@ -1324,8 +1324,8 @@ quotePreview = preview = $.el 'div', id: 'qp', className: 'reply' $.hide preview $.append d.body, preview - node: -> - quotes = $$ 'a.quotelink' + node: (root) -> + quotes = $$ 'a.quotelink', root for quote in quotes $.bind quote, 'mouseover', quotePreview.mouseover $.bind quote, 'mousemove', quotePreview.mousemove