diff --git a/common/modules/downloads.jsm b/common/modules/downloads.jsm index 6e1c6286..3f4a3501 100644 --- a/common/modules/downloads.jsm +++ b/common/modules/downloads.jsm @@ -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(); }),