diff --git a/4chan_x.user.js b/4chan_x.user.js index 9e2680ae7..4bff284f1 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -3087,10 +3087,12 @@ container = $.el('span', { className: 'container' }); + $.add(container, [$.tn(' '), link]); root = $('.reportbutton', el) || $('span[id]', el); $.after(root, container); + } else { + $.add(container, [$.tn(' '), link]); } - $.add(container, [$.tn(' '), link]); } } }; diff --git a/script.coffee b/script.coffee index f42c16664..064c05449 100644 --- a/script.coffee +++ b/script.coffee @@ -2509,9 +2509,11 @@ quoteBacklink = $.on link, 'click', quoteInline.toggle unless (container = $ '.container', el) and container.parentNode is el container = $.el 'span', className: 'container' + $.add container, [$.tn(' '), link] root = $('.reportbutton', el) or $('span[id]', el) $.after root, container - $.add container, [$.tn(' '), link] + else + $.add container, [$.tn(' '), link] return quoteInline =