mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Cleanup debug
This commit is contained in:
@@ -6283,7 +6283,6 @@ async function wiImageClear(summonEvent) {
|
|||||||
let uid = parseInt(summonEvent.target.id.replace("world_info_image_", ""));
|
let uid = parseInt(summonEvent.target.id.replace("world_info_image_", ""));
|
||||||
summonEvent.target.src = "";
|
summonEvent.target.src = "";
|
||||||
summonEvent.target.parentElement.querySelector(".placeholder").classList.remove("hidden");
|
summonEvent.target.parentElement.querySelector(".placeholder").classList.remove("hidden");
|
||||||
console.log(summonEvent, uid);
|
|
||||||
let r = await fetch(`/set_wi_image/${uid}`, {
|
let r = await fetch(`/set_wi_image/${uid}`, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: null
|
body: null
|
||||||
|
Reference in New Issue
Block a user