From ae036b662bf9919b44e5fe64216fcd262b750120 Mon Sep 17 00:00:00 2001 From: The Ghost of FOSS' Future <163201376+sneedgroup-holder@users.noreply.github.com> Date: Tue, 17 Sep 2024 19:09:12 -0500 Subject: [PATCH] Attempt 1 fixing quick save --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 2dfe24f..e0a5f03 100644 --- a/index.html +++ b/index.html @@ -333,7 +333,7 @@ }; function quickSaveFile(content) { - const fileName = prompt("File name to quick save as:", `${currentFile}`); + const fileName = prompt("File name to quick save as:", `${currentFile}`) || `${currentFile}`; const blob = new Blob([content], { type: "text/plain" }); const a = document.createElement("a"); a.href = URL.createObjectURL(blob);