mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
support for not hiding everything except image
This commit is contained in:
@ -1020,7 +1020,7 @@ function appendImageToMessage(mes, messageElement) {
|
||||
image.src = mes.extra?.image;
|
||||
image.title = mes.extra?.title || mes.title;
|
||||
image.classList.add("img_extra");
|
||||
messageElement.find(".mes_text").prepend(image);
|
||||
mes.extra?.inline_image?messageElement.find(".mes_text").append(image):messageElement.find(".mes_text").prepend(image);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user