reset the yellow fav star icon to white when selecting into a character

This commit is contained in:
Wilfred Chen
2023-04-21 23:34:11 +08:00
parent 55ed580cd1
commit b9820f631b

View File

@ -637,7 +637,6 @@ function updateSoftPromptsList(soft_prompts) {
function printCharacters() { function printCharacters() {
//console.log('printCharacters() entered'); //console.log('printCharacters() entered');
$("#rm_print_characters_block").empty(); $("#rm_print_characters_block").empty();
//console.log('printCharacters() -- sees '+characters.length+' characters.'); //console.log('printCharacters() -- sees '+characters.length+' characters.');
characters.forEach(function (item, i, arr) { characters.forEach(function (item, i, arr) {
@ -3839,6 +3838,7 @@ $(document).ready(function () {
select_selected_character(this_chid); select_selected_character(this_chid);
} }
$("#character_search_bar").val("").trigger("input"); $("#character_search_bar").val("").trigger("input");
$("#filter_by_fav").css("color","#FFFFFF"); //reset the fav to white.
}); });