From 953f58c4504d2c13e78288d30e36205e766ffd46 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Thu, 5 Nov 2015 21:05:16 -0800 Subject: [PATCH] Update report window resizing to new version of captcha. --- src/Miscellaneous/Report.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Miscellaneous/Report.coffee b/src/Miscellaneous/Report.coffee index bc91cbe8a..6125438ab 100755 --- a/src/Miscellaneous/Report.coffee +++ b/src/Miscellaneous/Report.coffee @@ -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