copy report button selector for backlinks

This commit is contained in:
James Campos 2011-05-28 12:24:13 -07:00
parent c7678e98f8
commit 1bd6d23e15
2 changed files with 8 additions and 8 deletions

View File

@ -1722,7 +1722,7 @@
container = $.el('span', {
className: 'container'
});
$.before($('br, blockquote', root), container);
$.after($('span[id^=no]', root), container);
id = root.id || $('td[id]', root).id;
quotes = {};
tid = g.THREAD_ID || root.parentNode.firstChild.id;
@ -2449,9 +2449,6 @@
if (form && $.config('Quick Reply')) {
qr.init();
}
if ($.config('Report Button')) {
reportButton.init();
}
if ($.config('Quote Backlinks')) {
quoteBacklink.init();
}
@ -2464,6 +2461,9 @@
if ($.config('Indicate OP quote')) {
quoteOP.init();
}
if ($.config('Report Button')) {
reportButton.init();
}
if ($.config('Thread Watcher')) {
watcher.init();
}

View File

@ -1387,7 +1387,7 @@ quoteBacklink =
return if /inline/.test root.className
container = $.el 'span',
className: 'container'
$.before $('br, blockquote', root), container
$.after $('span[id^=no]', root), container
id = root.id or $('td[id]', root).id
quotes = {}
tid = g.THREAD_ID or root.parentNode.firstChild.id
@ -1879,9 +1879,6 @@ main =
if form and $.config 'Quick Reply'
qr.init()
if $.config 'Report Button'
reportButton.init()
if $.config 'Quote Backlinks'
quoteBacklink.init()
@ -1894,6 +1891,9 @@ main =
if $.config 'Indicate OP quote'
quoteOP.init()
if $.config 'Report Button'
reportButton.init()
if $.config 'Thread Watcher'
watcher.init()