This ought to set the tabindex on the captcha, but for some reason it doesn't.

This commit is contained in:
ccd0 2015-06-22 23:43:57 -07:00
parent 9e5daa700a
commit f27b240b6e

View File

@ -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()