Update report window resizing to new version of captcha.

This commit is contained in:
ccd0 2015-11-05 21:05:16 -08:00
parent c860eafd05
commit 953f58c450

View File

@ -11,7 +11,7 @@ Report =
$.addStyle Report.css
Report.archive() if Conf['Archive Report']
if Conf['Use Recaptcha v2 in Reports'] and $.hasClass doc, 'js-enabled'
new MutationObserver(-> Report.fit '.gc-bubbleDefault').observe d.body,
new MutationObserver(-> Report.fit 'iframe[src^="https://www.google.com/recaptcha/api2/frame"]').observe d.body,
childList: true
attributes: true
subtree: true