Merge pull request #77 from MayhemYDG/master

Decent cross-thread OP quoting.
This commit is contained in:
James Campos 2011-05-08 18:16:39 -07:00
commit 634cf32a6b
2 changed files with 4 additions and 2 deletions

View File

@ -1731,7 +1731,8 @@
innerHTML: req.responseText
});
if (id === threadID) {
html = $('blockquote', body).innerHTML;
threading.thread($('form[name=delform] > *', body));
html = $('.op', body).innerHTML;
} else {
_ref = $$('td.reply', body);
for (_i = 0, _len = _ref.length; _i < _len; _i++) {

View File

@ -1378,7 +1378,8 @@ quotePreview =
body = $.el 'body',
innerHTML: req.responseText
if id == threadID #OP
html = $('blockquote', body).innerHTML
threading.thread $ 'form[name=delform] > *', body
html = $('.op', body).innerHTML
else
for reply in $$ 'td.reply', body
if reply.id == id