mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Fix #338
This commit is contained in:
@@ -3132,6 +3132,7 @@ function set_ui_level(level) {
|
|||||||
|
|
||||||
function update_story_picture(chunk_id) {
|
function update_story_picture(chunk_id) {
|
||||||
const image = document.getElementsByClassName("action_image")[0];
|
const image = document.getElementsByClassName("action_image")[0];
|
||||||
|
if (!image) return;
|
||||||
image.src = "/action_image?id=" + chunk_id + "&ignore="+new Date().getTime();
|
image.src = "/action_image?id=" + chunk_id + "&ignore="+new Date().getTime();
|
||||||
image.setAttribute("chunk", chunk_id);
|
image.setAttribute("chunk", chunk_id);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user