This ought to set the tabindex on the captcha, but for some reason it doesn't.
This commit is contained in:
parent
9e5daa700a
commit
f27b240b6e
@ -34,7 +34,9 @@ Captcha.replace =
|
||||
return unless old = $.id 'captchaContainerAlt'
|
||||
container = $.el 'div',
|
||||
className: 'g-recaptcha'
|
||||
container.dataset.sitekey = '<%= meta.recaptchaKey %>'
|
||||
$.extend container.dataset,
|
||||
sitekey: '<%= meta.recaptchaKey %>'
|
||||
tabindex: 3
|
||||
$.replace old, container
|
||||
url = 'https://www.google.com/recaptcha/api.js'
|
||||
if lang = Conf['captchaLanguage'].trim()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user