diff --git a/apps/sleeplog/interface.html b/apps/sleeplog/interface.html
index 41f2d953b..6cc121c4a 100644
--- a/apps/sleeplog/interface.html
+++ b/apps/sleeplog/interface.html
@@ -108,7 +108,7 @@ function deleteBefore(dateString) {
total = "" + files.length
files.forEach((file, i) => {
Util.showModal("Deleting file " + ("" + (i + 1)).padStart(total.length) + "/" + total + ": " + file);
- Util.eraseStorage(filename, () => { callback(); });
+ Util.eraseStorage(filename);
})
});
Util.hideModal();