diff --git a/4chan_x.user.js b/4chan_x.user.js index b9f667587..11209e783 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1391,9 +1391,8 @@ return; } QR.captchaPush(this); - if (!QR.hasContent()) { - return e.preventDefault(); - } + e.preventDefault(); + return e.submit(); }, quote: function(e) { var i, ss, ta, text, v; diff --git a/script.coffee b/script.coffee index d8cb7605e..ab379d067 100644 --- a/script.coffee +++ b/script.coffee @@ -1094,7 +1094,8 @@ QR = keydown: (e) -> return unless e.keyCode is 13 and @value #enter, captcha filled QR.captchaPush @ - e.preventDefault() unless QR.hasContent() + e.preventDefault() + e.submit() #derpy, but prevents calling QR.hasContent twice quote: (e) -> e.preventDefault() text = ">>#{@textContent}\n"