mirror of
https://gitlab.com/commento/commento.git
synced 2025-06-29 22:56:37 -04:00
auth-common.js, reset.js: use global namespace for paramGet
This commit is contained in:
@ -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();
|
||||
}
|
||||
};
|
||||
|
@ -17,7 +17,7 @@
|
||||
}
|
||||
|
||||
var json = {
|
||||
"resetHex": paramGet("hex"),
|
||||
"resetHex": global.paramGet("hex"),
|
||||
"password": $("#password").val(),
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user