diff --git a/browser/base/content/aboutDialog.js b/browser/base/content/aboutDialog.js index 34b466191990..40d2c347506b 100644 --- a/browser/base/content/aboutDialog.js +++ b/browser/base/content/aboutDialog.js @@ -52,11 +52,12 @@ function init(aEvent) #ifdef MOZ_UPDATER gAppUpdater = new appUpdater(); -#if MOZ_UPDATE_CHANNEL != release let defaults = Services.prefs.getDefaultBranch(""); let channelLabel = document.getElementById("currentChannel"); + let currentChannelText = document.getElementById("currentChannelText"); channelLabel.value = defaults.getCharPref("app.update.channel"); -#endif + if (channelLabel.value == "release") + currentChannelText.hidden = true; #endif #ifdef XP_MACOSX diff --git a/browser/base/content/aboutDialog.xul b/browser/base/content/aboutDialog.xul index fc23aab677c3..5e5f07f46bc1 100644 --- a/browser/base/content/aboutDialog.xul +++ b/browser/base/content/aboutDialog.xul @@ -108,12 +108,10 @@ #endif -#if MOZ_UPDATE_CHANNEL != release #ifdef MOZ_UPDATER &channel.description.start; -#endif #endif