diff --git a/application/palemoon/components/downloads/DownloadsViewUI.jsm b/application/palemoon/components/downloads/DownloadsViewUI.jsm index 7aa054d6a3..0220e566f3 100644 --- a/application/palemoon/components/downloads/DownloadsViewUI.jsm +++ b/application/palemoon/components/downloads/DownloadsViewUI.jsm @@ -80,20 +80,16 @@ this.DownloadsViewUI.DownloadElementShell.prototype = { get extendedDisplayName() { let s = DownloadsCommon.strings; - let [displayHost, fullHost] = DownloadUtils.getURIHost(this.download.source.url); + let displayHost = DownloadUtils.getURIHost(this.download.source.url); return s.statusSeparator(this.displayName, displayHost); }, get extendedDisplayNameTip() { let s = DownloadsCommon.strings; + let fullHost = DownloadUtils.getURIHost(this.download.source.url); let referrer = this.download.source.referrer; if (referrer) { - let [displayHost, fullHost] = DownloadUtils.getURIHost(this.download.source.url) + - ' (' + - DownloadUtils.getURIHost(referrer) + - ')'; - } else { - let [displayHost, fullHost] = DownloadUtils.getURIHost(this.download.source.url); + fullHost += ' (' + DownloadUtils.getURIHost(referrer) + ')'; } return s.statusSeparator(this.displayName, fullHost); },