backlink op, why not
This commit is contained in:
parent
27d221cee4
commit
6aaf7d2dcd
@ -1698,8 +1698,7 @@
|
||||
_results = [];
|
||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||
quote = _ref[_i];
|
||||
el = d.getElementById(quote.textContent.slice(2));
|
||||
if (!el || el.className === 'op') {
|
||||
if (!(el = d.getElementById(quote.textContent.slice(2)))) {
|
||||
continue;
|
||||
}
|
||||
good = 1;
|
||||
|
||||
@ -1352,8 +1352,7 @@ quoteBacklink =
|
||||
g.callbacks.push quoteBacklink.node
|
||||
node: (root) ->
|
||||
for quote in $$ 'a.quotelink', root
|
||||
el = d.getElementById(quote.textContent[2..])
|
||||
continue if not el or el.className is 'op'
|
||||
continue unless el = d.getElementById(quote.textContent[2..])
|
||||
good = 1
|
||||
id = quote.parentNode.parentNode.parentNode.id
|
||||
for backlink in $$ 'a.backlink', el
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user