mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Disable "Download Story as Plaintext" when disconnected
This is to help avoid confusion for people who want to backup their current story after being disconnected from the server.
This commit is contained in:
@@ -2367,7 +2367,9 @@ $(document).ready(function(){
|
||||
});
|
||||
|
||||
button_downloadtxt.on("click", function(ev) {
|
||||
downloadStory('plaintext');
|
||||
if(connected) {
|
||||
downloadStory('plaintext');
|
||||
}
|
||||
});
|
||||
|
||||
button_load.on("click", function(ev) {
|
||||
|
Reference in New Issue
Block a user