Add prefix to avatar tooltip

This commit is contained in:
Cohee 2024-03-28 01:27:28 +02:00
parent 03d255442e
commit 945e3e3b0e
1 changed files with 1 additions and 1 deletions

View File

@ -1240,7 +1240,7 @@ function getCharacterBlock(item, id) {
const template = $('#character_template .character_select').clone();
template.attr({ 'chid': id, 'id': `CharID${id}` });
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}`);
if (power_user.show_card_avatar_urls) {
template.find('.ch_avatar_url').text(item.avatar);