mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
updated missing avatars to be a webfont display
This commit is contained in:
@ -961,7 +961,9 @@ function addOneMessage(mes, type = "normal", insertAfter = null) {
|
||||
}
|
||||
|
||||
newMessage.find('.avatar img').on('error', function () {
|
||||
$(this).attr("src", "/img/user-slash-solid.svg");
|
||||
/* $(this).attr("src", "/img/user-slash-solid.svg"); */
|
||||
$(this).hide();
|
||||
$(this).parent().html(`<div class="missing-avatar fa-solid fa-user-slash"></div>`);
|
||||
});
|
||||
|
||||
if (type === 'swipe') {
|
||||
|
Reference in New Issue
Block a user