diff options
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/assets/javascript/core.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/phpBB/assets/javascript/core.js b/phpBB/assets/javascript/core.js index fc8fe16d5f..58016c872f 100644 --- a/phpBB/assets/javascript/core.js +++ b/phpBB/assets/javascript/core.js @@ -1685,6 +1685,15 @@ phpbb.recaptchaOnSubmit = function () { } } +// reCAPTCHA doesn't accept callback functions nested inside objects +// so we need to make this helper functions here +function phpbbRecaptchaOnLoad() { + phpbb.recaptchaOnLoad(); +} +function phpbbRecaptchaOnSubmit() { + phpbb.recaptchaOnSubmit(); +} + $(window).on('load', phpbb.lazyLoadAvatars); /** @@ -1717,12 +1726,3 @@ $(function() { }); })(jQuery); // Avoid conflicts with other libraries - -// reCAPTCHA doesn't accept callback functions nested inside objects -// so we need to make this helper functions here -function phpbbRecaptchaOnLoad() { - phpbb.recaptchaOnLoad(); -} -function phpbbRecaptchaOnSubmit() { - phpbb.recaptchaOnSubmit(); -} |