auth-common.js, reset.js: use global namespace for paramGet

This commit is contained in:
Adhityaa Chandrasekar 2019-01-23 17:48:39 -05:00
parent 3677d43aab
commit edd8aae7a7
2 changed files with 3 additions and 3 deletions

View File

@ -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();
}
};

View File

@ -17,7 +17,7 @@
}
var json = {
"resetHex": paramGet("hex"),
"resetHex": global.paramGet("hex"),
"password": $("#password").val(),
};