diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-07-29 12:29:40 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-07-29 12:29:40 +0200 |
commit | 761b6eb255109a07d7cbcaaef6891cb14c961dbc (patch) | |
tree | 4e284b19b8ca665f6c62975f73434b60b1d78e80 /application/palemoon/components/downloads/content/downloadsViewCommon.js | |
parent | d6c976bf65e309d298c250d7466b2cb0e523d088 (diff) | |
download | UXP-761b6eb255109a07d7cbcaaef6891cb14c961dbc.tar UXP-761b6eb255109a07d7cbcaaef6891cb14c961dbc.tar.gz UXP-761b6eb255109a07d7cbcaaef6891cb14c961dbc.tar.lz UXP-761b6eb255109a07d7cbcaaef6891cb14c961dbc.tar.xz UXP-761b6eb255109a07d7cbcaaef6891cb14c961dbc.zip |
Fix typos
Diffstat (limited to 'application/palemoon/components/downloads/content/downloadsViewCommon.js')
-rw-r--r-- | application/palemoon/components/downloads/content/downloadsViewCommon.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/application/palemoon/components/downloads/content/downloadsViewCommon.js b/application/palemoon/components/downloads/content/downloadsViewCommon.js index 9ef492764..999d82317 100644 --- a/application/palemoon/components/downloads/content/downloadsViewCommon.js +++ b/application/palemoon/components/downloads/content/downloadsViewCommon.js @@ -12,7 +12,7 @@ "use strict"; -let { classes: Cc, interfaces: Ci, utils: Cu, results: Cr } = Components; +var { classes: Cc, interfaces: Ci, utils: Cu, results: Cr } = Components; Cu.import("resource://gre/modules/XPCOMUtils.jsm"); @@ -91,16 +91,16 @@ DownloadElementShell.prototype = { get extendedDisplayName() { let s = DownloadsCommon.strings; - let referrer = this.dataItem.download.source.referrer || - this.dataItem.download.source.url; + let referrer = this.download.source.referrer || + this.download.source.url; let [displayHost, fullHost] = DownloadUtils.getURIHost(referrer); return s.statusSeparator(this.displayName, displayHost); }, get extendedDisplayNameTip() { let s = DownloadsCommon.strings; - let referrer = this.dataItem.download.source.referrer || - this.dataItem.download.source.url; + let referrer = this.download.source.referrer || + this.download.source.url; let [displayHost, fullHost] = DownloadUtils.getURIHost(referrer); return s.statusSeparator(this.displayName, fullHost); }, |