username as email default when logged in

This commit is contained in:
jlehmann committed 2021-04-06 20:24:29 +02:00
1 parent 08e7fa95d3
commit 473b0e4213
2 files changed
+9

No files matched your search

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