use threading.op

This commit is contained in:
James Campos 2011-05-08 23:38:31 -07:00
parent 594191091d
commit 3a6aa86d2c

View File

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