switch order of conditionals
This commit is contained in:
parent
85d612886f
commit
4fa1ad3441
@ -2360,7 +2360,7 @@
|
|||||||
if (!(el = $.id(qid))) {
|
if (!(el = $.id(qid))) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (!conf['OP Backlinks'] && el.className === 'op') {
|
if (el.className === 'op' && !conf['OP Backlinks']) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
link = a.cloneNode(true);
|
link = a.cloneNode(true);
|
||||||
|
|||||||
@ -1780,7 +1780,7 @@ quoteBacklink =
|
|||||||
for qid of quotes
|
for qid of quotes
|
||||||
continue unless el = $.id qid
|
continue unless el = $.id qid
|
||||||
#don't backlink the op
|
#don't backlink the op
|
||||||
continue if !conf['OP Backlinks'] and el.className is 'op'
|
continue if el.className is 'op' and !conf['OP Backlinks']
|
||||||
link = a.cloneNode true
|
link = a.cloneNode true
|
||||||
if conf['Quote Preview']
|
if conf['Quote Preview']
|
||||||
$.bind link, 'mouseover', quotePreview.mouseover
|
$.bind link, 'mouseover', quotePreview.mouseover
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user