mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-02-02 18:46:48 +01:00
Messages should be hidden on loading a save, softprompt or script
This commit is contained in:
parent
175416c1ba
commit
452b46146b
@ -2205,6 +2205,7 @@ $(document).ready(function(){
|
||||
});
|
||||
|
||||
load_accept.on("click", function(ev) {
|
||||
hideMessage();
|
||||
newly_loaded = true;
|
||||
socket.send({'cmd': 'loadrequest', 'data': ''});
|
||||
hideLoadPopup();
|
||||
@ -2215,6 +2216,7 @@ $(document).ready(function(){
|
||||
});
|
||||
|
||||
sp_accept.on("click", function(ev) {
|
||||
hideMessage();
|
||||
socket.send({'cmd': 'sprequest', 'data': ''});
|
||||
hideSPPopup();
|
||||
});
|
||||
@ -2225,6 +2227,7 @@ $(document).ready(function(){
|
||||
});
|
||||
|
||||
us_accept.on("click", function(ev) {
|
||||
hideMessage();
|
||||
socket.send({'cmd': 'usloaded', 'data': usloaded.find(".uslistitem").map(function() { return $(this).attr("name"); }).toArray()});
|
||||
socket.send({'cmd': 'usload', 'data': ''});
|
||||
hideUSPopup();
|
||||
@ -2235,6 +2238,7 @@ $(document).ready(function(){
|
||||
});
|
||||
|
||||
ns_accept.on("click", function(ev) {
|
||||
hideMessage();
|
||||
socket.send({'cmd': 'newgame', 'data': ''});
|
||||
hideNewStoryPopup();
|
||||
});
|
||||
@ -2267,6 +2271,7 @@ $(document).ready(function(){
|
||||
});
|
||||
|
||||
rs_accept.on("click", function(ev) {
|
||||
hideMessage();
|
||||
socket.send({'cmd': 'rndgame', 'data': topic.val()});
|
||||
hideRandomStoryPopup();
|
||||
});
|
||||
|
@ -10,7 +10,7 @@
|
||||
<script src="static/bootstrap.min.js"></script>
|
||||
<script src="static/bootstrap-toggle.min.js"></script>
|
||||
<script src="static/rangy-core.min.js"></script>
|
||||
<script src="static/application.js?ver=1.16.4i"></script>
|
||||
<script src="static/application.js?ver=1.16.4j"></script>
|
||||
|
||||
<link rel="stylesheet" href="static/jquery-ui.sortable.min.css">
|
||||
<link rel="stylesheet" href="static/bootstrap.min.css">
|
||||
|
Loading…
x
Reference in New Issue
Block a user