reload page on successfull upload
This commit is contained in:
parent
020a2ae815
commit
cccaf58ec3
|
@ -17,6 +17,8 @@ const uploadSkin = async (event) => {
|
|||
|
||||
if (response.status != 200) {
|
||||
alert(await response.text())
|
||||
} else {
|
||||
window.location.reload(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -39,6 +41,8 @@ const uploadCape = async (event) => {
|
|||
|
||||
if (response.status != 200) {
|
||||
alert(await response.text())
|
||||
} else {
|
||||
window.location.reload(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue