Add captcha cache count in the input's alt for XTRM RICE. @KWeEabo0o
This commit is contained in:
parent
f30cc383ec
commit
e7e0e73236
@ -1521,7 +1521,8 @@
|
|||||||
count: function(count) {
|
count: function(count) {
|
||||||
var s;
|
var s;
|
||||||
s = count === 1 ? '' : 's';
|
s = count === 1 ? '' : 's';
|
||||||
return this.input.placeholder = "Verification (" + count + " cached captcha" + s + ")";
|
this.input.placeholder = "Verification (" + count + " cached captcha" + s + ")";
|
||||||
|
return this.input.alt = count;
|
||||||
},
|
},
|
||||||
reload: function(focus) {
|
reload: function(focus) {
|
||||||
window.location = 'javascript:Recaptcha.reload()';
|
window.location = 'javascript:Recaptcha.reload()';
|
||||||
|
|||||||
@ -1123,6 +1123,7 @@ qr =
|
|||||||
count: (count) ->
|
count: (count) ->
|
||||||
s = if count is 1 then '' else 's'
|
s = if count is 1 then '' else 's'
|
||||||
@input.placeholder = "Verification (#{count} cached captcha#{s})"
|
@input.placeholder = "Verification (#{count} cached captcha#{s})"
|
||||||
|
@input.alt = count # For XTRM RICE.
|
||||||
reload: (focus) ->
|
reload: (focus) ->
|
||||||
window.location = 'javascript:Recaptcha.reload()'
|
window.location = 'javascript:Recaptcha.reload()'
|
||||||
# Focus if we meant to.
|
# Focus if we meant to.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user