diff --git a/static/application.js b/static/application.js index a0614ffa..72912f1c 100644 --- a/static/application.js +++ b/static/application.js @@ -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) { diff --git a/templates/index.html b/templates/index.html index 37f8483b..88f55b06 100644 --- a/templates/index.html +++ b/templates/index.html @@ -17,7 +17,7 @@ - + @@ -47,7 +47,7 @@ Save As Save To File... Download Story as JSON - Download Story as Plaintext + Download Story as Plaintext