- fav stars on right

- solo and groups all flex now
This commit is contained in:
RossAscends
2023-04-29 05:01:33 +09:00
parent d9d9224f62
commit db3b31c2b5
3 changed files with 35 additions and 43 deletions

View File

@ -676,10 +676,10 @@ function printCharacters() {
}
// Populate the template
const template = $('#character_template .character_select').clone();
template.attr({'chid': i, 'id': `CharID${i}` });
template.attr({ 'chid': i, 'id': `CharID${i}` });
template.find('img').attr('src', this_avatar);
template.find('.avatar').attr('title', item.avatar);
template.find('.ch_name .name_text').text(item.name);
template.find('.ch_name').text(item.name);
template.find('.ch_fav_icon').css("display", item.fav == "true" ? '' : 'none');
template.find('.ch_fav').val(item.fav);