mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-01-22 13:19:52 +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)) {
|
if(!memorymode && !gamestarted && ((!adventure || !action_mode) && txt.trim().length == 0)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
input_text.val("");
|
||||||
|
hideMessage();
|
||||||
|
hidegenseqs();
|
||||||
socket.send({'cmd': 'submit', 'actionmode': adventure ? action_mode : 0, 'data': txt});
|
socket.send({'cmd': 'submit', 'actionmode': adventure ? action_mode : 0, 'data': txt});
|
||||||
if(memorymode) {
|
if(memorymode) {
|
||||||
memorytext = input_text.val();
|
memorytext = input_text.val();
|
||||||
}
|
}
|
||||||
input_text.val("");
|
|
||||||
hideMessage();
|
|
||||||
hidegenseqs();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function changemode() {
|
function changemode() {
|
||||||
@ -1690,7 +1690,6 @@ $(document).ready(function(){
|
|||||||
scrollToBottom();
|
scrollToBottom();
|
||||||
}
|
}
|
||||||
newly_loaded = false;
|
newly_loaded = false;
|
||||||
hideMessage();
|
|
||||||
} else if(msg.cmd == "scrolldown") {
|
} else if(msg.cmd == "scrolldown") {
|
||||||
scrollToBottom();
|
scrollToBottom();
|
||||||
} else if(msg.cmd == "updatechunk") {
|
} else if(msg.cmd == "updatechunk") {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<script src="static/jquery-3.6.0.min.js"></script>
|
<script src="static/jquery-3.6.0.min.js"></script>
|
||||||
<script src="static/jquery-ui.sortable.min.js"></script>
|
<script src="static/jquery-ui.sortable.min.js"></script>
|
||||||
<script src="static/socket.io.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.min.js"></script>
|
||||||
<script src="static/bootstrap-toggle.min.js"></script>
|
<script src="static/bootstrap-toggle.min.js"></script>
|
||||||
<script src="static/rangy-core.min.js"></script>
|
<script src="static/rangy-core.min.js"></script>
|
||||||
|
Loading…
Reference in New Issue
Block a user