diff --git a/4chan_x.user.js b/4chan_x.user.js index a814c24a8..4a8c376c4 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1199,8 +1199,14 @@ qr = { init: function() { - var iframe; + var h1, iframe; if (!$.id('recaptcha_challenge_field_holder')) return; + $('form[name=post]').hidden = true; + h1 = $.el('h1', { + innerHTML: 'Open the Quick Reply' + }); + $.on($('a', h1), 'click', qr.open); + $.add($('.postarea'), h1); g.callbacks.push(function(root) { return $.on($('.quotejs + .quotejs', root), 'click', qr.quote); }); diff --git a/script.coffee b/script.coffee index f9cf2b76c..48214b4d5 100644 --- a/script.coffee +++ b/script.coffee @@ -862,6 +862,11 @@ nav = qr = init: -> return unless $.id 'recaptcha_challenge_field_holder' + $('form[name=post]').hidden = true + h1 = $.el 'h1' + innerHTML: 'Open the Quick Reply' + $.on $('a', h1), 'click', qr.open + $.add $('.postarea'), h1 g.callbacks.push (root) -> $.on $('.quotejs + .quotejs', root), 'click', qr.quote iframe = $.el 'iframe',