12 lines
272 B
JavaScript
12 lines
272 B
JavaScript
|
(function (global, document) {
|
||
|
|
||
|
// Prefills the email field from the URL parameter.
|
||
|
global.prefillEmail = function() {
|
||
|
if (paramGet("email") != undefined) {
|
||
|
$("#email").val(paramGet("email"));
|
||
|
$("#password").click();
|
||
|
}
|
||
|
};
|
||
|
|
||
|
} (window, document));
|