mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Option area partially open bug fix
This commit is contained in:
@@ -74,6 +74,13 @@ function reset_story() {
|
||||
while (story_area.lastChild.id != 'story_prompt') {
|
||||
story_area.removeChild(story_area.lastChild);
|
||||
}
|
||||
dummy_span = document.createElement("span");
|
||||
text = "";
|
||||
for (i=0;i<154;i++) {
|
||||
text += "\xa0";
|
||||
}
|
||||
dummy_span.textContent = text;
|
||||
story_area.append(dummy_span);
|
||||
var option_area = document.getElementById("Select Options");
|
||||
while (option_area.firstChild) {
|
||||
option_area.removeChild(option_area.firstChild);
|
||||
|
@@ -39,6 +39,15 @@
|
||||
<div id="disconnect_message"><center><h1>Disconnected</h1></center></div>
|
||||
<div class="gametext" id="Selected Text">
|
||||
<span id="story_prompt" class="var_sync_story_prompt var_sync_alt_story_prompt_length var_sync_alt_story_prompt_in_ai rawtext" contenteditable=true onblur="if (getAttribute(this, 'old_text') != this.textContent) {sync_to_server(this);}" onkeydown="detect_enter_text"></span>
|
||||
<span id="Delete Me">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<!------------ Sequences --------------------->
|
||||
|
Reference in New Issue
Block a user