[sleeplog] Correct deleteBefore function 3
parent
4b41d30987
commit
1b467cfa99
|
|
@ -108,7 +108,7 @@ function deleteBefore(dateString) {
|
||||||
total = "" + files.length
|
total = "" + files.length
|
||||||
files.forEach((file, i) => {
|
files.forEach((file, i) => {
|
||||||
Util.showModal("Deleting file " + ("" + (i + 1)).padStart(total.length) + "/" + total + ": " + file);
|
Util.showModal("Deleting file " + ("" + (i + 1)).padStart(total.length) + "/" + total + ": " + file);
|
||||||
Util.eraseStorage(filename, () => { callback(); });
|
Util.eraseStorage(filename);
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
Util.hideModal();
|
Util.hideModal();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue