commento/frontend/js/auth-common.js
2018-06-05 13:52:25 +05:30

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));