Don't double the (OP) on inlined quotes.

This commit is contained in:
Nicolas Stepien 2011-05-19 22:16:43 +02:00
parent f74b7ff348
commit f5662ef46d
2 changed files with 4 additions and 0 deletions

View File

@ -1891,6 +1891,9 @@
},
node: function(root) {
var quote, tid, _i, _len, _ref, _results;
if (root.className) {
return;
}
tid = g.THREAD_ID || root.parentNode.firstChild.id;
_ref = $$('a.quotelink', root);
_results = [];

View File

@ -1494,6 +1494,7 @@ quoteOP =
init: ->
g.callbacks.push quoteOP.node
node: (root) ->
return if root.className
tid = g.THREAD_ID or root.parentNode.firstChild.id
for quote in $$ 'a.quotelink', root
if quote.hash[1..] is tid