Shave a line.

This commit is contained in:
Nicolas Stepien 2012-01-16 23:18:46 +01:00
parent 335a972f1a
commit 8313c05195
2 changed files with 3 additions and 5 deletions

View File

@ -762,7 +762,7 @@
} }
}, },
parse: function(req, pathname, thread, a) { 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) { if (req.status !== 200) {
a.textContent = "" + req.status + " " + req.statusText; a.textContent = "" + req.status + " " + req.statusText;
$.off(a, 'click', expandThread.cb.toggle); $.off(a, 'click', expandThread.cb.toggle);
@ -793,8 +793,7 @@
while ((next = a.nextSibling) && !next.clear) { while ((next = a.nextSibling) && !next.clear) {
$.rm(next); $.rm(next);
} }
br = next; return $.before(next, frag);
return $.before(br, frag);
} }
}; };

View File

@ -569,8 +569,7 @@ expandThread =
# eat everything, then replace with fresh full posts # eat everything, then replace with fresh full posts
while (next = a.nextSibling) and not next.clear #br[clear] while (next = a.nextSibling) and not next.clear #br[clear]
$.rm next $.rm next
br = next $.before next, frag
$.before br, frag
replyHiding = replyHiding =
init: -> init: ->