mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Trim whitespace
This commit is contained in:
@@ -7054,6 +7054,11 @@ async function showScreenshotWizard(actionComposition, startDebt, endDebt) {
|
||||
}
|
||||
}
|
||||
|
||||
const firstAction = screenshotTextContainer.children[0];
|
||||
const lastAction = screenshotTextContainer.children[screenshotTextContainer.children.length-1];
|
||||
firstAction.innerText = firstAction.innerText.trimStart();
|
||||
lastAction.innerText = lastAction.innerText.trimEnd();
|
||||
|
||||
let imageData = await (await fetch("/image_db.json")).json();
|
||||
screenshotImagePicker.innerHTML = "";
|
||||
|
||||
|
Reference in New Issue
Block a user