summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--basilisk/components/downloads/DownloadsViewUI.jsm3
1 files changed, 1 insertions, 2 deletions
diff --git a/basilisk/components/downloads/DownloadsViewUI.jsm b/basilisk/components/downloads/DownloadsViewUI.jsm
index 3b0e4c1..26b756f 100644
--- a/basilisk/components/downloads/DownloadsViewUI.jsm
+++ b/basilisk/components/downloads/DownloadsViewUI.jsm
@@ -247,8 +247,7 @@ this.DownloadsViewUI.DownloadElementShell.prototype = {
stateLabel = s.stateFailed;
}
- let referrer = this.download.source.referrer || this.download.source.url;
- let [displayHost, fullHost] = DownloadUtils.getURIHost(referrer);
+ let [displayHost, fullHost] = DownloadUtils.getURIHost(this.download.source.url);
let date = new Date(this.download.endTime);
let [displayDate, fullDate] = DownloadUtils.getReadableDates(date);