Update report window resizing to new version of captcha.
This commit is contained in:
parent
c860eafd05
commit
953f58c450
@ -11,7 +11,7 @@ Report =
|
|||||||
$.addStyle Report.css
|
$.addStyle Report.css
|
||||||
Report.archive() if Conf['Archive Report']
|
Report.archive() if Conf['Archive Report']
|
||||||
if Conf['Use Recaptcha v2 in Reports'] and $.hasClass doc, 'js-enabled'
|
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
|
childList: true
|
||||||
attributes: true
|
attributes: true
|
||||||
subtree: true
|
subtree: true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user