mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-01-05 21:07:08 +01:00
Make sure the "Lua error" GUI message is always visible
This commit is contained in:
parent
d870f193b2
commit
a06cc3d37b
@ -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") {
|
||||
|
@ -7,7 +7,7 @@
|
||||
<script src="static/jquery-3.6.0.min.js"></script>
|
||||
<script src="static/jquery-ui.sortable.min.js"></script>
|
||||
<script src="static/socket.io.min.js"></script>
|
||||
<script src="static/application.js?ver=1.16.4d"></script>
|
||||
<script src="static/application.js?ver=1.16.4e"></script>
|
||||
<script src="static/bootstrap.min.js"></script>
|
||||
<script src="static/bootstrap-toggle.min.js"></script>
|
||||
<script src="static/rangy-core.min.js"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user