Update index.html
This commit is contained in:
parent
5b2404da3a
commit
7290d8530e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue