commento/frontend/js/auth-common.js

12 lines
272 B
JavaScript
Raw Normal View History

2018-06-04 00:06:17 +08:00
(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));