summaryrefslogtreecommitdiffstats
path: root/browser/components/downloads/content/allDownloadsView.js
diff options
context:
space:
mode:
Diffstat (limited to 'browser/components/downloads/content/allDownloadsView.js')
-rw-r--r--browser/components/downloads/content/allDownloadsView.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/browser/components/downloads/content/allDownloadsView.js b/browser/components/downloads/content/allDownloadsView.js
index 08f8bfcb5f..f880f602aa 100644
--- a/browser/components/downloads/content/allDownloadsView.js
+++ b/browser/components/downloads/content/allDownloadsView.js
@@ -141,7 +141,7 @@ HistoryDownloadElementShell.prototype = {
// be opened.
let browserWin = BrowserWindowTracker.getTopWindow();
let openWhere = browserWin
- ? browserWin.whereToOpenLink(event, false, true)
+ ? BrowserUtils.whereToOpenLink(event, false, true)
: "window";
if (["window", "tabshifted", "tab"].includes(openWhere)) {
command += ":" + openWhere;