just use val("") to fix

This commit is contained in:
creeper123123321 2021-05-24 19:41:09 -03:00 committed by GitHub
parent b63511c912
commit a71c062f11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ function loginMc(user, pass) {
.then(data => {
storeMcAccount(data.accessToken, data.clientToken, data.selectedProfile.name, data.selectedProfile.id);
}).catch(e => addToast("Failed to login", e));
$("#form_add_mc input")[0].reset();
$("#form_add_mc input").val("");
}
function logoutMojang(id) {