mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Update hotswap state on fav
This commit is contained in:
@@ -6357,6 +6357,7 @@ async function createOrEditCharacter(e) {
|
||||
$("#create_button").removeAttr("disabled");
|
||||
|
||||
await getOneCharacter(formData.get('avatar_url'));
|
||||
favsToHotswap(); // Update fav state
|
||||
|
||||
$("#add_avatar_button").replaceWith(
|
||||
$("#add_avatar_button").val("").clone(true)
|
||||
|
Reference in New Issue
Block a user