mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +09:00
Merge remote-tracking branch 'origin/master' into custom
This commit is contained in:
commit
8aaf947d13
6 changed files with 34 additions and 18 deletions
|
|
@ -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);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue