Enable autoposting when submitting a captcha while on cooldown.
This commit is contained in:
parent
0baa452a01
commit
f0aa40597c
@ -1552,6 +1552,7 @@
|
||||
captchaKeydown: function(e) {
|
||||
var captchas;
|
||||
if (!(e.keyCode === 13 && this.value)) return;
|
||||
if (cooldown.duration) $('#auto', qr.el).checked = true;
|
||||
captchas = $.get('captchas', []);
|
||||
captchas.push({
|
||||
challenge: qr.challenge,
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
master
|
||||
- mayhem
|
||||
enable autoposting when submitting a captcha while on cooldown
|
||||
|
||||
2.23.1
|
||||
- mayhem
|
||||
|
||||
@ -1164,6 +1164,8 @@ qr =
|
||||
captchaKeydown: (e) ->
|
||||
return unless e.keyCode is 13 and @value #enter, captcha filled
|
||||
|
||||
$('#auto', qr.el).checked = true if cooldown.duration #enable autoposting
|
||||
|
||||
captchas = $.get 'captchas', []
|
||||
captchas.push
|
||||
challenge: qr.challenge
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user