Update hotswap state on fav
This commit is contained in:
parent
e74090139c
commit
bf0cf10403
|
@ -6357,6 +6357,7 @@ async function createOrEditCharacter(e) {
|
||||||
$("#create_button").removeAttr("disabled");
|
$("#create_button").removeAttr("disabled");
|
||||||
|
|
||||||
await getOneCharacter(formData.get('avatar_url'));
|
await getOneCharacter(formData.get('avatar_url'));
|
||||||
|
favsToHotswap(); // Update fav state
|
||||||
|
|
||||||
$("#add_avatar_button").replaceWith(
|
$("#add_avatar_button").replaceWith(
|
||||||
$("#add_avatar_button").val("").clone(true)
|
$("#add_avatar_button").val("").clone(true)
|
||||||
|
|
Loading…
Reference in New Issue