Update index.html
This commit is contained in:
parent
6c3099244b
commit
eb9c6db880
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@
|
|||
};
|
||||
|
||||
window.deleteFile = (fileName) => {
|
||||
if (confirm(`Are you sure you want to delete ${fileName}?`)) {
|
||||
if (confirm(`Are you sure you want to delete ${fileName} from the list of files you are working on? (This WILL remove any changes!)`)) {
|
||||
delete files[fileName];
|
||||
if (currentFile === fileName) {
|
||||
currentFile = Object.keys(files)[0] || "";
|
||||
|
|
Loading…
Reference in a new issue