Fix for something that you will never experience.

This commit is contained in:
Nicolas Stepien 2011-05-19 22:28:48 +02:00
parent f9832bfd3b
commit 3caa9bb336
2 changed files with 2 additions and 2 deletions

View File

@ -1894,7 +1894,7 @@
if (root.className === 'inline') {
return;
}
tid = g.THREAD_ID || root.parentNode.firstChild.id;
tid = g.THREAD_ID || $.x('ancestor::div[@class="thread"]/div', this).id;
_ref = $$('a.quotelink', root);
_results = [];
for (_i = 0, _len = _ref.length; _i < _len; _i++) {

View File

@ -1495,7 +1495,7 @@ quoteOP =
g.callbacks.push quoteOP.node
node: (root) ->
return if root.className is 'inline'
tid = g.THREAD_ID or root.parentNode.firstChild.id
tid = g.THREAD_ID or $.x('ancestor::div[@class="thread"]/div', this).id
for quote in $$ 'a.quotelink', root
if quote.hash[1..] is tid
quote.textContent += ' (OP)'