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);
|
$.sync('captchas', QR.captcha.sync);
|
||||||
QR.captcha.nodes.challenge = challenge;
|
QR.captcha.nodes.challenge = challenge;
|
||||||
new MutationObserver(QR.captcha.load.bind(QR.captcha)).observe(challenge, {
|
new MutationObserver(QR.captcha.load.bind(QR.captcha)).observe(challenge, {
|
||||||
childList: true
|
childList: true,
|
||||||
|
subtree: true,
|
||||||
|
attributes: true
|
||||||
});
|
});
|
||||||
return QR.captcha.load();
|
return QR.captcha.load();
|
||||||
},
|
},
|
||||||
|
|||||||
@ -58,6 +58,8 @@ QR.captcha =
|
|||||||
QR.captcha.nodes.challenge = challenge
|
QR.captcha.nodes.challenge = challenge
|
||||||
new MutationObserver(QR.captcha.load.bind QR.captcha).observe challenge,
|
new MutationObserver(QR.captcha.load.bind QR.captcha).observe challenge,
|
||||||
childList: true
|
childList: true
|
||||||
|
subtree: true
|
||||||
|
attributes: true
|
||||||
QR.captcha.load()
|
QR.captcha.load()
|
||||||
|
|
||||||
sync: (captchas) ->
|
sync: (captchas) ->
|
||||||
@ -134,4 +136,4 @@ QR.captcha =
|
|||||||
@save()
|
@save()
|
||||||
else
|
else
|
||||||
return
|
return
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user