Fix preparsing post.el for inlined quotes.

This commit is contained in:
Nicolas Stepien 2012-03-05 01:54:03 +01:00
parent 2cbac888d0
commit 07fce347f6
2 changed files with 2 additions and 2 deletions

View File

@ -3934,7 +3934,7 @@
klass = node.className;
posts.push({
root: node,
el: klass === 'op' ? node : $('td[id]', node),
el: klass === 'op' ? node : node.firstChild.firstChild.lastChild,
"class": klass,
id: $('input', node).name,
threadId: g.THREAD_ID || $.x('ancestor::div[contains(@class,"thread")]', node).firstChild.id,

View File

@ -3242,7 +3242,7 @@ Main =
klass = node.className
posts.push
root: node
el: if klass is 'op' then node else $ 'td[id]', node
el: if klass is 'op' then node else node.firstChild.firstChild.lastChild
class: klass
id: $('input', node).name
threadId: g.THREAD_ID or $.x('ancestor::div[contains(@class,"thread")]', node).firstChild.id