fix op quoting, closes #133
This commit is contained in:
parent
979fc45284
commit
40a4db4aab
@ -1930,7 +1930,7 @@
|
||||
if (root.className === 'inline') {
|
||||
return;
|
||||
}
|
||||
tid = g.THREAD_ID || $.x('ancestor::div[@class="thread"]/div', root).id;
|
||||
tid = g.THREAD_ID || $.x('ancestor::div[contains(@class,"thread")]/div', root).id;
|
||||
_ref = $$('a.quotelink', root);
|
||||
_results = [];
|
||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||
|
||||
@ -1521,7 +1521,7 @@ quoteOP =
|
||||
g.callbacks.push quoteOP.node
|
||||
node: (root) ->
|
||||
return if root.className is 'inline'
|
||||
tid = g.THREAD_ID or $.x('ancestor::div[@class="thread"]/div', root).id
|
||||
tid = g.THREAD_ID or $.x('ancestor::div[contains(@class,"thread")]/div', root).id
|
||||
for quote in $$ 'a.quotelink', root
|
||||
if quote.hash[1..] is tid
|
||||
quote.textContent += ' (OP)'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user