mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-11-22 12:05:45 +01:00
try to fix resetting
This commit is contained in:
parent
1b2ad525df
commit
b63511c912
@ -44,7 +44,7 @@ function loginMc(user, pass) {
|
|||||||
.then(data => {
|
.then(data => {
|
||||||
storeMcAccount(data.accessToken, data.clientToken, data.selectedProfile.name, data.selectedProfile.id);
|
storeMcAccount(data.accessToken, data.clientToken, data.selectedProfile.name, data.selectedProfile.id);
|
||||||
}).catch(e => addToast("Failed to login", e));
|
}).catch(e => addToast("Failed to login", e));
|
||||||
$("#form_add_mc input").trigger("reset");
|
$("#form_add_mc input")[0].reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
function logoutMojang(id) {
|
function logoutMojang(id) {
|
||||||
|
Loading…
Reference in New Issue
Block a user