diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-02-05 06:27:57 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2018-02-05 06:27:57 -0500 |
commit | 591ff8e63813bd4af50f4441d5bbc77c79d35dae (patch) | |
tree | d60872a901ed822bfff9d1b47621af13d4a395cc /browser/base | |
parent | d2b88bf812a9f13ac02e5cd116ae19e34a198ada (diff) | |
parent | b7852aab25b8ab06e0463bbe7c5d20cdd6f89750 (diff) | |
download | UXP-591ff8e63813bd4af50f4441d5bbc77c79d35dae.tar UXP-591ff8e63813bd4af50f4441d5bbc77c79d35dae.tar.gz UXP-591ff8e63813bd4af50f4441d5bbc77c79d35dae.tar.lz UXP-591ff8e63813bd4af50f4441d5bbc77c79d35dae.tar.xz UXP-591ff8e63813bd4af50f4441d5bbc77c79d35dae.zip |
Merge branch 'branding-work'
Diffstat (limited to 'browser/base')
-rw-r--r-- | browser/base/content/aboutDialog.js | 4 | ||||
-rw-r--r-- | browser/base/content/aboutDialog.xul | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/browser/base/content/aboutDialog.js b/browser/base/content/aboutDialog.js index 569a65adb..b024d2d52 100644 --- a/browser/base/content/aboutDialog.js +++ b/browser/base/content/aboutDialog.js @@ -62,6 +62,10 @@ function init(aEvent) let arch = bundle.GetStringFromName(archResource); versionField.textContent += ` (${arch})`; + // Get Release Notes URL from Preferences + let releaseNotesURL = Services.prefs.getCharPref("app.releaseNotesURL"); + document.getElementById("releasenotes").setAttribute("href", releaseNotesURL); + if (AppConstants.MOZ_UPDATER) { gAppUpdater = new appUpdater(); diff --git a/browser/base/content/aboutDialog.xul b/browser/base/content/aboutDialog.xul index cbb07a5e1..ef2804f31 100644 --- a/browser/base/content/aboutDialog.xul +++ b/browser/base/content/aboutDialog.xul @@ -47,7 +47,7 @@ <hbox align="baseline"> #expand <label id="version">__MOZ_APP_VERSION_DISPLAY__</label> #ifndef NIGHTLY_BUILD -#expand <label id="releasenotes" class="text-link" href="https://www.mozilla.org/firefox/__MOZ_APP_VERSION__/releasenotes/">&releaseNotes.link;</label> + <label id="releasenotes" class="text-link">&releaseNotes.link;</label> #endif </hbox> |