Fix for the .0001% inlined quotes quoting the current thread's OP.

This commit is contained in:
Nicolas Stepien 2011-05-19 22:24:40 +02:00
parent f5662ef46d
commit f9832bfd3b
2 changed files with 2 additions and 2 deletions

View File

@ -1891,7 +1891,7 @@
},
node: function(root) {
var quote, tid, _i, _len, _ref, _results;
if (root.className) {
if (root.className === 'inline') {
return;
}
tid = g.THREAD_ID || root.parentNode.firstChild.id;

View File

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