Add prefix to avatar tooltip
This commit is contained in:
parent
03d255442e
commit
945e3e3b0e
|
@ -1240,7 +1240,7 @@ function getCharacterBlock(item, id) {
|
||||||
const template = $('#character_template .character_select').clone();
|
const template = $('#character_template .character_select').clone();
|
||||||
template.attr({ 'chid': id, 'id': `CharID${id}` });
|
template.attr({ 'chid': id, 'id': `CharID${id}` });
|
||||||
template.find('img').attr('src', this_avatar).attr('alt', item.name);
|
template.find('img').attr('src', this_avatar).attr('alt', item.name);
|
||||||
template.find('.avatar').attr('title', `[Character] ${item.name}\n${item.avatar}`);
|
template.find('.avatar').attr('title', `[Character] ${item.name}\nFile: ${item.avatar}`);
|
||||||
template.find('.ch_name').text(item.name).attr('title', `[Character] ${item.name}`);
|
template.find('.ch_name').text(item.name).attr('title', `[Character] ${item.name}`);
|
||||||
if (power_user.show_card_avatar_urls) {
|
if (power_user.show_card_avatar_urls) {
|
||||||
template.find('.ch_avatar_url').text(item.avatar);
|
template.find('.ch_avatar_url').text(item.avatar);
|
||||||
|
|
Loading…
Reference in New Issue