diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:29 +0000 |
commit | 59203c63bb777a3bacec32fb8830fba33540e809 (patch) | |
tree | 58298e711c0ff0575818c30485b44a2f21bf28a0 /browser/components/downloads/content/downloads.js | |
parent | Adding upstream version 126.0.1. (diff) | |
download | firefox-59203c63bb777a3bacec32fb8830fba33540e809.tar.xz firefox-59203c63bb777a3bacec32fb8830fba33540e809.zip |
Adding upstream version 127.0.upstream/127.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/downloads/content/downloads.js')
-rw-r--r-- | browser/components/downloads/content/downloads.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/browser/components/downloads/content/downloads.js b/browser/components/downloads/content/downloads.js index b420d48db6..cab8b65aab 100644 --- a/browser/components/downloads/content/downloads.js +++ b/browser/components/downloads/content/downloads.js @@ -97,8 +97,6 @@ var DownloadsPanel = { window.addEventListener("unload", this.onWindowUnload); - window.ensureCustomElements("moz-button-group"); - // Load and resume active downloads if required. If there are downloads to // be shown in the panel, they will be loaded asynchronously. DownloadsCommon.initializeAllDataLinks(); @@ -327,7 +325,7 @@ var DownloadsPanel = { // to the browser window when the panel closes automatically. this.hidePanel(); - BrowserDownloadsUI(); + BrowserCommands.downloadsUI(); }, // Internal functions @@ -868,7 +866,7 @@ var DownloadsView = { } else if (aEvent.shiftKey || aEvent.ctrlKey || aEvent.metaKey) { // We adjust the command for supported modifiers to suggest where the download // may be opened - let openWhere = target.ownerGlobal.whereToOpenLink(aEvent, false, true); + let openWhere = BrowserUtils.whereToOpenLink(aEvent, false, true); if (["tab", "window", "tabshifted"].includes(openWhere)) { command += ":" + openWhere; } |