mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Make sure the "Lua error" GUI message is always visible
This commit is contained in:
@ -765,13 +765,13 @@ function dosubmit() {
|
||||
if(!memorymode && !gamestarted && ((!adventure || !action_mode) && txt.trim().length == 0)) {
|
||||
return;
|
||||
}
|
||||
input_text.val("");
|
||||
hideMessage();
|
||||
hidegenseqs();
|
||||
socket.send({'cmd': 'submit', 'actionmode': adventure ? action_mode : 0, 'data': txt});
|
||||
if(memorymode) {
|
||||
memorytext = input_text.val();
|
||||
}
|
||||
input_text.val("");
|
||||
hideMessage();
|
||||
hidegenseqs();
|
||||
}
|
||||
|
||||
function changemode() {
|
||||
@ -1690,7 +1690,6 @@ $(document).ready(function(){
|
||||
scrollToBottom();
|
||||
}
|
||||
newly_loaded = false;
|
||||
hideMessage();
|
||||
} else if(msg.cmd == "scrolldown") {
|
||||
scrollToBottom();
|
||||
} else if(msg.cmd == "updatechunk") {
|
||||
|
Reference in New Issue
Block a user