put container after report button

This commit is contained in:
James Campos 2011-06-20 16:45:32 -07:00
parent ad5bfe92ab
commit 260e9a804f
2 changed files with 7 additions and 3 deletions

View File

@ -1869,9 +1869,11 @@
$.bind(link, 'click', quoteInline.toggle);
}
if (!(container = $('.container', el))) {
container = $.after($('span[id^=no]', el), $.el('span', {
container = $.el('span', {
className: 'container'
}));
});
root = $('.reportbutton', el) || $('span[id^=no]', el);
$.after(root, container);
}
_results.push($.append(container, $.tn(' '), link));
}

View File

@ -1467,7 +1467,9 @@ quoteBacklink =
if $.config 'Quote Inline'
$.bind link, 'click', quoteInline.toggle
unless container = $ '.container', el
container = $.after $('span[id^=no]', el), $.el 'span', className: 'container'
container = $.el 'span', className: 'container'
root = $('.reportbutton', el) or $('span[id^=no]', el)
$.after root, container
$.append container, $.tn(' '), link
quoteInline =