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