Decent cross-thread OP quoting.
This commit is contained in:
parent
5765bbb7f3
commit
feb72d4f0e
@ -1731,7 +1731,8 @@
|
||||
innerHTML: req.responseText
|
||||
});
|
||||
if (id === threadID) {
|
||||
html = $('blockquote', body).innerHTML;
|
||||
threading.thread($('form[name=delform] > *:not([id])', body));
|
||||
html = $('.op', body).innerHTML;
|
||||
} else {
|
||||
_ref = $$('td.reply', body);
|
||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||
|
||||
@ -1378,7 +1378,8 @@ quotePreview =
|
||||
body = $.el 'body',
|
||||
innerHTML: req.responseText
|
||||
if id == threadID #OP
|
||||
html = $('blockquote', body).innerHTML
|
||||
threading.thread $ 'form[name=delform] > *:not([id])', body
|
||||
html = $('.op', body).innerHTML
|
||||
else
|
||||
for reply in $$ 'td.reply', body
|
||||
if reply.id == id
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user