diff --git a/public/index.html b/public/index.html index 89a734a2c..fa6a6c5c1 100644 --- a/public/index.html +++ b/public/index.html @@ -239,9 +239,16 @@ autoloadchat(); autoconnect(); }); - + + function flushSettings() { + $('#settings_perset').empty(); + $('#world_info').empty(); + $('#world_info').append(''); + } + //RossAscends: a smaller load-up function to be used instead of refreshing the page in cases like deleting a character and changing username function QuickRefresh(){ + flushSettings(); clearChat(); //characters.length = 0 //if this could be enabled it would allow the GetCharacters function to detect files added or removed from the char dir on each panel load console.log('quickRefresh() -- active_character -- '+active_character); @@ -2544,6 +2551,7 @@ } async function getUserAvatars(){ $("#user_avatar_block").html(""); //RossAscends: necessary to avoid doubling avatars each QuickRefresh. + $('#user_avatar_block').append('