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;
|
||||
},
|
||||
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() {
|
||||
window.location = 'javascript:Recaptcha.reload()';
|
||||
|
||||
@ -1072,7 +1072,8 @@ qr =
|
||||
@img.src = "http://www.google.com/recaptcha/api/image?c=#{challenge}"
|
||||
@input.value = null
|
||||
count: (count) ->
|
||||
@input.placeholder = "Verification (#{count} cached captchas)"
|
||||
s = if count is 1 then '' else 's'
|
||||
@input.placeholder = "Verification (#{count} cached captcha#{s})"
|
||||
reload: ->
|
||||
window.location = 'javascript:Recaptcha.reload()'
|
||||
qr.captcha.input.focus()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user