mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
Fix incorrect file reference in onDownloadDragStart
Follow-up to Janek's port in 462332eee018e24d88255c708fa8acb67a717673 where this variable was changed creating a mismatch with surrounding code. This fixes #943.
This commit is contained in:
parent
83dcf0f290
commit
c2496a58d0
1 changed files with 3 additions and 3 deletions
|
|
@ -1038,9 +1038,9 @@ const DownloadsView = {
|
|||
}
|
||||
|
||||
// We must check for existence synchronously because this is a DOM event.
|
||||
let file = new FileUtils.File(DownloadsView.controllerForElement(element)
|
||||
.download.target.path);
|
||||
if (!file.exists()) {
|
||||
let localFile = new FileUtils.File(DownloadsView.controllerForElement(element)
|
||||
.download.target.path);
|
||||
if (!localFile.exists()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue