Work around focus bug in newest Recaptcha.

This commit is contained in:
ccd0 2015-10-21 10:40:45 -07:00
parent a0ea062a67
commit ce1e58d701

View File

@ -52,6 +52,7 @@ Captcha.fixes =
@fixImages()
new MutationObserver(=> @fixImages()).observe d.body, {childList: true, subtree: true}
$.on d, 'keydown', @keybinds.bind(@)
window.focus()
initNoscript: ->
@noscript = true