diff --git a/frontend/js/auth-common.js b/frontend/js/auth-common.js index 907b928..28e0c85 100644 --- a/frontend/js/auth-common.js +++ b/frontend/js/auth-common.js @@ -13,8 +13,8 @@ // Prefills the email field from the URL parameter. global.prefillEmail = function() { - if (paramGet("email") !== undefined) { - $("#email").val(paramGet("email")); + if (global.paramGet("email") !== undefined) { + $("#email").val(global.paramGet("email")); $("#password").click(); } }; diff --git a/frontend/js/reset.js b/frontend/js/reset.js index 8a7def5..8ca3998 100644 --- a/frontend/js/reset.js +++ b/frontend/js/reset.js @@ -17,7 +17,7 @@ } var json = { - "resetHex": paramGet("hex"), + "resetHex": global.paramGet("hex"), "password": $("#password").val(), };