mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Fix for welcome area showing on loading a story when it shouldn't
This commit is contained in:
@@ -316,7 +316,9 @@ function reset_story() {
|
||||
text += "\xa0 ";
|
||||
}
|
||||
document.getElementById("welcome_text").innerText = text;
|
||||
if (document.getElementById("story_prompt").innerText == "") {
|
||||
document.getElementById("welcome_container").classList.remove("hidden");
|
||||
}
|
||||
document.getElementById('main-grid').setAttribute('option_length', 0);
|
||||
|
||||
$(".chat-message").remove();
|
||||
|
Reference in New Issue
Block a user