From bf0cf10403a4d4d6d98ce67ca4dcbff0bc979b0e Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Wed, 13 Sep 2023 13:12:19 +0300 Subject: [PATCH] Update hotswap state on fav --- public/script.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/script.js b/public/script.js index c58ca50b1..ff14bd528 100644 --- a/public/script.js +++ b/public/script.js @@ -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)