Update index.html

This commit is contained in:
The Ghost of FOSS' Future 2024-09-17 18:45:02 -05:00 committed by GitHub
parent 5b2404da3a
commit 7290d8530e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -331,7 +331,7 @@
};
function quickSaveFile(content) {
const fileName = prompt("File name to quick save as:");
const fileName = prompt("File name to quick save as:", `${currentFile}`);
const blob = new Blob([content], { type: "text/plain" });
const a = document.createElement("a");
a.href = URL.createObjectURL(blob);