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