username as email default when logged in

This commit is contained in:
2021-04-06 20:24:29 +02:00
parent 08e7fa95d3
commit 473b0e4213
2 changed files with 9 additions and 0 deletions
+5
View File
@@ -17,6 +17,11 @@ function validate(what, text) {
}
$(document).ready(function () {
var username = $("#username").html();
if (username != "") {
$("#email").val(username);
}
console.log(username);
$("#quantity_exclamation").hide();
$("#email_exclamation").hide();