Use app.releaseNotesURL preference instead of a hardcoded URL in the Basilisk about box

This commit is contained in:
NTD 2018-02-05 02:13:44 -05:00 • committed by Roy Tam
commit 2e1a61cb76
2 changed files with 5 additions and 1 deletions

View file

@ -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();