This is an automated email from the git hooks/post-receive script.
pierov pushed a commit to branch geckoview-99.0.1-11.0-1 in repository tor-browser.
commit a54cecdd7cb71c0b6579c2b73a6190958fb9f5bf Author: Dão Gottwald dao@mozilla.com AuthorDate: Tue Apr 5 13:21:09 2022 +0000
Bug 1762723 - Use proper dragstart event targets in the download panel. r=mak a=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D142865 --- browser/components/downloads/content/downloads.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/browser/components/downloads/content/downloads.js b/browser/components/downloads/content/downloads.js index 1d5009dff14f1..4a9f35f462d14 100644 --- a/browser/components/downloads/content/downloads.js +++ b/browser/components/downloads/content/downloads.js @@ -1043,7 +1043,7 @@ var DownloadsView = { },
onDownloadDragStart(aEvent) { - let element = this.richListBox.selectedItem; + let element = aEvent.target.closest("richlistitem"); if (!element) { return; }