diff --git a/src/main/resources/web/js/account_manager.js b/src/main/resources/web/js/account_manager.js index 88a2228..b76fd8c 100644 --- a/src/main/resources/web/js/account_manager.js +++ b/src/main/resources/web/js/account_manager.js @@ -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").reset(); + $("#form_add_mc input").trigger("reset"); } function logoutMojang(id) {