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