Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/src/functions.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/src/functions.js b/js/src/functions.js
index 1cb8758325..83aee440f5 100644
--- a/js/src/functions.js
+++ b/js/src/functions.js
@@ -11,7 +11,8 @@
* General functions, usually for data manipulation pages.
* @type {object}
*/
-var Functions = {};
+const Functions = {};
+window.Functions = Functions;
/**
* Number of AJAX messages shown since page load.
@@ -4125,8 +4126,7 @@ Functions.toggleDatepickerIfInvalid = function ($td, $inputField) {
* Function to submit the login form after validation is done.
* NOTE: do NOT use a module or it will break the callback, issue #15435
*/
-// eslint-disable-next-line no-unused-vars
-var recaptchaCallback = function () {
+window.recaptchaCallback = function () {
$('#login_form').trigger('submit');
};