Don't double the (OP) on inlined quotes.
This commit is contained in:
parent
f74b7ff348
commit
f5662ef46d
@ -1891,6 +1891,9 @@
|
|||||||
},
|
},
|
||||||
node: function(root) {
|
node: function(root) {
|
||||||
var quote, tid, _i, _len, _ref, _results;
|
var quote, tid, _i, _len, _ref, _results;
|
||||||
|
if (root.className) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
tid = g.THREAD_ID || root.parentNode.firstChild.id;
|
tid = g.THREAD_ID || root.parentNode.firstChild.id;
|
||||||
_ref = $$('a.quotelink', root);
|
_ref = $$('a.quotelink', root);
|
||||||
_results = [];
|
_results = [];
|
||||||
|
|||||||
@ -1494,6 +1494,7 @@ quoteOP =
|
|||||||
init: ->
|
init: ->
|
||||||
g.callbacks.push quoteOP.node
|
g.callbacks.push quoteOP.node
|
||||||
node: (root) ->
|
node: (root) ->
|
||||||
|
return if root.className
|
||||||
tid = g.THREAD_ID or root.parentNode.firstChild.id
|
tid = g.THREAD_ID or root.parentNode.firstChild.id
|
||||||
for quote in $$ 'a.quotelink', root
|
for quote in $$ 'a.quotelink', root
|
||||||
if quote.hash[1..] is tid
|
if quote.hash[1..] is tid
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user