From 945e3e3b0ea98f0f21a20c23e275ebea4359f655 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Thu, 28 Mar 2024 01:27:28 +0200 Subject: [PATCH] Add prefix to avatar tooltip --- public/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/script.js b/public/script.js index 5025242eb..36539cc9a 100644 --- a/public/script.js +++ b/public/script.js @@ -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);