diff --git a/4chan_x.user.js b/4chan_x.user.js index 4fe8d61ad..a21d717e2 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -3427,7 +3427,7 @@ var a; if (!(a = $('.reportbutton', post.el))) { a = ReportButton.a.cloneNode(true); - $.after($('span[id]', post.el), [$.tn(' '), a]); + $.add($('.postInfo', post.el), a); } return $.on(a, 'click', ReportButton.report); }, diff --git a/script.coffee b/script.coffee index dafdc8029..affc84de4 100644 --- a/script.coffee +++ b/script.coffee @@ -2663,7 +2663,7 @@ ReportButton = node: (post) -> unless a = $ '.reportbutton', post.el a = ReportButton.a.cloneNode true - $.after $('span[id]', post.el), [$.tn(' '), a] + $.add $('.postInfo', post.el), a $.on a, 'click', ReportButton.report report: -> url = "//sys.4chan.org/#{g.BOARD}/imgboard.php?mode=report&no=#{$.x('preceding-sibling::input', @).name}"