From 8313c0519582c1aea6e8e04243a92d347d307baa Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Mon, 16 Jan 2012 23:18:46 +0100 Subject: [PATCH] Shave a line. --- 4chan_x.user.js | 5 ++--- script.coffee | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index c04dc43e7..6f59cf6ff 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -762,7 +762,7 @@ } }, parse: function(req, pathname, thread, a) { - var body, br, frag, href, link, next, quote, reply, _i, _j, _len, _len2, _ref, _ref2; + var body, frag, href, link, next, quote, reply, _i, _j, _len, _len2, _ref, _ref2; if (req.status !== 200) { a.textContent = "" + req.status + " " + req.statusText; $.off(a, 'click', expandThread.cb.toggle); @@ -793,8 +793,7 @@ while ((next = a.nextSibling) && !next.clear) { $.rm(next); } - br = next; - return $.before(br, frag); + return $.before(next, frag); } }; diff --git a/script.coffee b/script.coffee index 50bce829c..0b00eb3bd 100644 --- a/script.coffee +++ b/script.coffee @@ -569,8 +569,7 @@ expandThread = # eat everything, then replace with fresh full posts while (next = a.nextSibling) and not next.clear #br[clear] $.rm next - br = next - $.before br, frag + $.before next, frag replyHiding = init: ->