Update index.html

This commit is contained in:
The Ghost of FOSS' Future 2024-09-18 08:43:45 -05:00 committed by GitHub
parent 6c3099244b
commit eb9c6db880
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -341,7 +341,7 @@
}; };
window.deleteFile = (fileName) => { 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]; delete files[fileName];
if (currentFile === fileName) { if (currentFile === fileName) {
currentFile = Object.keys(files)[0] || ""; currentFile = Object.keys(files)[0] || "";