Minor captcha fix.

This commit is contained in:
Mayhem 2014-02-09 19:46:44 +01:00
parent f8785c5445
commit 6b3495fb77

View File

@ -32,6 +32,7 @@ QR.captcha =
@setupObserver = new MutationObserver @afterSetup @setupObserver = new MutationObserver @afterSetup
@setupObserver.observe container, childList: true @setupObserver.observe container, childList: true
@afterSetup() # reCAPTCHA might have loaded before the QR.
setup: -> setup: ->
$.globalEval 'loadRecaptcha()' $.globalEval 'loadRecaptcha()'
afterSetup: -> afterSetup: ->