1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-31 06:25:45 +01:00

Fix :downloads [Delete].

This commit is contained in:
Doug Kearns
2014-02-24 16:34:00 +11:00
parent d1fd687eb4
commit 78a6de9c3a

View File

@@ -98,7 +98,7 @@ var Download = Class("Download", {
delete: promises.task(function delete_() {
if (this.hasPartialData)
yield this.removePartialData();
else if (self.targetFile.exists())
else if (this.targetFile.exists())
this.targetFile.remove(false);
this.updateStatus();
}),