aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/assets/javascript/core.js
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/assets/javascript/core.js')
-rw-r--r--phpBB/assets/javascript/core.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/assets/javascript/core.js b/phpBB/assets/javascript/core.js
index 58016c872f..bb38441622 100644
--- a/phpBB/assets/javascript/core.js
+++ b/phpBB/assets/javascript/core.js
@@ -1687,10 +1687,10 @@ phpbb.recaptchaOnSubmit = function () {
// reCAPTCHA doesn't accept callback functions nested inside objects
// so we need to make this helper functions here
-function phpbbRecaptchaOnLoad() {
+window.phpbbRecaptchaOnLoad = function() {
phpbb.recaptchaOnLoad();
}
-function phpbbRecaptchaOnSubmit() {
+window.phpbbRecaptchaOnSubmit = function() {
phpbb.recaptchaOnSubmit();
}