Don't use the universal selector.

This commit is contained in:
Nicolas Stepien 2011-10-09 23:06:36 +02:00
parent 659d54a6aa
commit 2490b9c7d2
2 changed files with 2 additions and 2 deletions

View File

@ -2573,7 +2573,7 @@
innerHTML: req.responseText innerHTML: req.responseText
}); });
if (id === threadID) { if (id === threadID) {
op = threading.op($('form[name=delform] > *', body)); op = threading.op($('body > form', body).firstChild);
html = op.innerHTML; html = op.innerHTML;
} else { } else {
_ref = $$('td.reply', body); _ref = $$('td.reply', body);

View File

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