0 cached captchas. 1 cached captcha. 2 cached catpchas.
This commit is contained in:
parent
2f8052163d
commit
8a4cdb7d09
@ -1451,7 +1451,9 @@
|
|||||||
return this.input.value = null;
|
return this.input.value = null;
|
||||||
},
|
},
|
||||||
count: function(count) {
|
count: function(count) {
|
||||||
return this.input.placeholder = "Verification (" + count + " cached captchas)";
|
var s;
|
||||||
|
s = count === 1 ? '' : 's';
|
||||||
|
return this.input.placeholder = "Verification (" + count + " cached captcha" + s + ")";
|
||||||
},
|
},
|
||||||
reload: function() {
|
reload: function() {
|
||||||
window.location = 'javascript:Recaptcha.reload()';
|
window.location = 'javascript:Recaptcha.reload()';
|
||||||
|
|||||||
@ -1072,7 +1072,8 @@ qr =
|
|||||||
@img.src = "http://www.google.com/recaptcha/api/image?c=#{challenge}"
|
@img.src = "http://www.google.com/recaptcha/api/image?c=#{challenge}"
|
||||||
@input.value = null
|
@input.value = null
|
||||||
count: (count) ->
|
count: (count) ->
|
||||||
@input.placeholder = "Verification (#{count} cached captchas)"
|
s = if count is 1 then '' else 's'
|
||||||
|
@input.placeholder = "Verification (#{count} cached captcha#{s})"
|
||||||
reload: ->
|
reload: ->
|
||||||
window.location = 'javascript:Recaptcha.reload()'
|
window.location = 'javascript:Recaptcha.reload()'
|
||||||
qr.captcha.input.focus()
|
qr.captcha.input.focus()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user