Update 4chan-X.user.js

added changes from MayhemYDG to solve captcha issue
This commit is contained in:
duckness 2014-03-29 18:48:14 +08:00
parent 2b16fa924f
commit d8ca3bcafc

View File

@ -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();
}, },