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:
@@ -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();
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user