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") { | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Gnome Ann
					Gnome Ann