mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-17 19:43:33 +01:00
Fix :downloads [Delete].
This commit is contained in:
@@ -98,7 +98,7 @@ var Download = Class("Download", {
|
|||||||
delete: promises.task(function delete_() {
|
delete: promises.task(function delete_() {
|
||||||
if (this.hasPartialData)
|
if (this.hasPartialData)
|
||||||
yield this.removePartialData();
|
yield this.removePartialData();
|
||||||
else if (self.targetFile.exists())
|
else if (this.targetFile.exists())
|
||||||
this.targetFile.remove(false);
|
this.targetFile.remove(false);
|
||||||
this.updateStatus();
|
this.updateStatus();
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user