Merge remote-tracking branch 'origin/master' into custom

This commit is contained in:
roytam1 2020-09-25 22:18:48 +08:00
commit 56aaf6a15a
8042 changed files with 294 additions and 8190 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);