Revert "do more outside the loop"
This reverts commit f6d5c3309337cb369779036380ddec5816dda3e6.
This commit is contained in:
parent
f6d5c33093
commit
85d612886f
@ -2355,14 +2355,6 @@
|
|||||||
className: root.hidden ? 'filtered backlink' : 'backlink',
|
className: root.hidden ? 'filtered backlink' : 'backlink',
|
||||||
textContent: quoteBacklink.funk(id)
|
textContent: quoteBacklink.funk(id)
|
||||||
});
|
});
|
||||||
if (conf['Quote Preview']) {
|
|
||||||
$.bind(a, 'mouseover', quotePreview.mouseover);
|
|
||||||
$.bind(a, 'mousemove', ui.hover);
|
|
||||||
$.bind(a, 'mouseout', quotePreview.mouseout);
|
|
||||||
}
|
|
||||||
if (conf['Quote Inline']) {
|
|
||||||
$.bind(a, 'click', quoteInline.toggle);
|
|
||||||
}
|
|
||||||
_results = [];
|
_results = [];
|
||||||
for (qid in quotes) {
|
for (qid in quotes) {
|
||||||
if (!(el = $.id(qid))) {
|
if (!(el = $.id(qid))) {
|
||||||
@ -2372,6 +2364,14 @@
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
link = a.cloneNode(true);
|
link = a.cloneNode(true);
|
||||||
|
if (conf['Quote Preview']) {
|
||||||
|
$.bind(link, 'mouseover', quotePreview.mouseover);
|
||||||
|
$.bind(link, 'mousemove', ui.hover);
|
||||||
|
$.bind(link, 'mouseout', quotePreview.mouseout);
|
||||||
|
}
|
||||||
|
if (conf['Quote Inline']) {
|
||||||
|
$.bind(link, 'click', quoteInline.toggle);
|
||||||
|
}
|
||||||
if (!((container = $('.container', el)) && container.parentNode === el)) {
|
if (!((container = $('.container', el)) && container.parentNode === el)) {
|
||||||
container = $.el('span', {
|
container = $.el('span', {
|
||||||
className: 'container'
|
className: 'container'
|
||||||
|
|||||||
@ -1777,17 +1777,17 @@ quoteBacklink =
|
|||||||
href: "##{id}"
|
href: "##{id}"
|
||||||
className: if root.hidden then 'filtered backlink' else 'backlink'
|
className: if root.hidden then 'filtered backlink' else 'backlink'
|
||||||
textContent: quoteBacklink.funk id
|
textContent: quoteBacklink.funk id
|
||||||
if conf['Quote Preview']
|
|
||||||
$.bind a, 'mouseover', quotePreview.mouseover
|
|
||||||
$.bind a, 'mousemove', ui.hover
|
|
||||||
$.bind a, 'mouseout', quotePreview.mouseout
|
|
||||||
if conf['Quote Inline']
|
|
||||||
$.bind a, 'click', quoteInline.toggle
|
|
||||||
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 !conf['OP Backlinks'] and el.className is 'op'
|
||||||
link = a.cloneNode true
|
link = a.cloneNode true
|
||||||
|
if conf['Quote Preview']
|
||||||
|
$.bind link, 'mouseover', quotePreview.mouseover
|
||||||
|
$.bind link, 'mousemove', ui.hover
|
||||||
|
$.bind link, 'mouseout', quotePreview.mouseout
|
||||||
|
if conf['Quote Inline']
|
||||||
|
$.bind link, 'click', quoteInline.toggle
|
||||||
unless (container = $ '.container', el) and container.parentNode is el
|
unless (container = $ '.container', el) and container.parentNode is el
|
||||||
container = $.el 'span', className: 'container'
|
container = $.el 'span', className: 'container'
|
||||||
root = $('.reportbutton', el) or $('span[id]', el)
|
root = $('.reportbutton', el) or $('span[id]', el)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user