Merge branch 'master' of https://github.com/duckness/4chan-x
This commit is contained in:
commit
4cba926baf
@ -6542,7 +6542,9 @@
|
||||
$.sync('captchas', QR.captcha.sync);
|
||||
QR.captcha.nodes.challenge = challenge;
|
||||
new MutationObserver(QR.captcha.load.bind(QR.captcha)).observe(challenge, {
|
||||
childList: true
|
||||
childList: true,
|
||||
subtree: true,
|
||||
attributes: true
|
||||
});
|
||||
return QR.captcha.load();
|
||||
},
|
||||
|
||||
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user