Commit 016990be authored by Gijs Kruitbosch's avatar Gijs Kruitbosch
Browse files

Bug 1641487, r=jaws a=jcristau

parent 80fd528f
Loading
Loading
Loading
Loading
+1 −9
Original line number Diff line number Diff line
@@ -335,15 +335,7 @@ DownloadsViewUI.DownloadElementShell.prototype = {
   *        Downloads View. Type is either l10n object or string literal.
   */
  showStatusWithDetails(stateLabel, hoverStatus) {
    let referrer =
      this.download.source.referrerInfo &&
      this.download.source.referrerInfo.originalReferrer
        ? this.download.source.referrerInfo.originalReferrer.spec
        : null;

    let [displayHost] = DownloadUtils.getURIHost(
      referrer || this.download.source.url
    );
    let [displayHost] = DownloadUtils.getURIHost(this.download.source.url);
    let [displayDate] = DownloadUtils.getReadableDates(
      new Date(this.download.endTime)
    );