diff --git a/4chan_x.user.js b/4chan_x.user.js index 9450a103c..35da0294d 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1053,6 +1053,7 @@ submit.disabled = false; submit.value = 'Submit'; if ($('#auto').checked) { + $('#auto').checked = false; $('#qr_form').submit(); } } @@ -1102,7 +1103,7 @@ qr.autohide.unset(); } else { if (dialog) { - if ($.config('Persistent QR' && g.REPLY)) { + if ($.config('Persistent QR') && g.REPLY) { qr.refresh(dialog); } else { $.rm(dialog); diff --git a/script.coffee b/script.coffee index aef38839b..c63daa351 100644 --- a/script.coffee +++ b/script.coffee @@ -799,7 +799,9 @@ cooldown = else submit.disabled = false submit.value = 'Submit' - $('#qr_form').submit() if $('#auto').checked + if $('#auto').checked + $('#auto').checked = false + $('#qr_form').submit() window.clearInterval cooldown.interval unless cooldown.duration @@ -836,7 +838,7 @@ qr = qr.autohide.unset() else # success if dialog - if $.config 'Persistent QR' and g.REPLY + if $.config('Persistent QR') and g.REPLY qr.refresh dialog else $.rm dialog