diff --git a/4chan_x.user.js b/4chan_x.user.js index 0a55fb130..a79bbca87 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1106,6 +1106,7 @@ data = e.data; dialog = $('#qr'); if (data) { + $('input[name=recaptcha_response_field]', dialog).value = ''; $('#error').textContent = data; qr.autohide.unset(); } else { diff --git a/script.coffee b/script.coffee index 620503551..1a4993b72 100644 --- a/script.coffee +++ b/script.coffee @@ -857,6 +857,7 @@ qr = {data} = e dialog = $ '#qr' if data # error message + $('input[name=recaptcha_response_field]', dialog).value = '' $('#error').textContent = data qr.autohide.unset() else # success