Update QR.captcha.coffee

added changes from MayhemYDG to solve captcha issue
This commit is contained in:
Bjorn Lim 2014-03-29 18:18:51 +08:00
parent e8992deab7
commit 2b16fa924f

View File

@ -58,6 +58,8 @@ QR.captcha =
QR.captcha.nodes.challenge = challenge
new MutationObserver(QR.captcha.load.bind QR.captcha).observe challenge,
childList: true
subtree: true
attributes: true
QR.captcha.load()
sync: (captchas) ->
@ -134,4 +136,4 @@ QR.captcha =
@save()
else
return
e.preventDefault()
e.preventDefault()