mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-01-20 20:38:21 +01:00
Dismiss reload warning when needed
This commit is contained in:
parent
a3862946aa
commit
b04a3a2fbb
@ -2962,6 +2962,7 @@ $(document).ready(function(){
|
||||
$("#showmodelnamecontainer").removeClass("hidden");
|
||||
} else if(msg.cmd == 'hide_model_name') {
|
||||
$("#showmodelnamecontainer").addClass("hidden");
|
||||
$(window).off('beforeunload');
|
||||
location.reload();
|
||||
//console.log("Closing window");
|
||||
} else if(msg.cmd == 'model_load_status') {
|
||||
|
Loading…
Reference in New Issue
Block a user