[Centaury] Stop using referrers as sources.

master
Fedor 2020-10-14 01:56:35 +03:00 committed by Fedor
parent 7db19361b4
commit b1896615b1
1 changed files with 1 additions and 2 deletions

View File

@ -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);