mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-23 15:47:30 +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.
|
// We must check for existence synchronously because this is a DOM event.
|
||||||
let file = new FileUtils.File(DownloadsView.controllerForElement(element)
|
let localFile = new FileUtils.File(DownloadsView.controllerForElement(element)
|
||||||
.download.target.path);
|
.download.target.path);
|
||||||
if (!file.exists()) {
|
if (!localFile.exists()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue