diff options
author | Gaming4JC <g4jc@bulletmail.org> | 2018-07-26 21:42:36 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@bulletmail.org> | 2018-07-26 21:42:36 -0400 |
commit | 1f42404754a821f92dfbb4160d2ac382ddc9a847 (patch) | |
tree | 3e3c8c4e206d070afac38233126ccc773c0fa8a2 | |
parent | c56e40c960ea61ebe4dee322f3cc617fb84c63db (diff) | |
download | iceweasel-uxp-1f42404754a821f92dfbb4160d2ac382ddc9a847.tar.gz |
remove build id from aboutDialog
-rw-r--r-- | base/content/aboutDialog.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/base/content/aboutDialog.js b/base/content/aboutDialog.js index f957162..9addf9f 100644 --- a/base/content/aboutDialog.js +++ b/base/content/aboutDialog.js @@ -40,26 +40,8 @@ function init(aEvent) // Pref is unset } - // Include the build ID let versionField = document.getElementById("version"); let version = Services.appinfo.version; - let buildID = Services.appinfo.appBuildID; - let year = buildID.slice(0, 4); - let month = buildID.slice(4, 6); - let day = buildID.slice(6, 8); - let hour = buildID.slice(8, 10); - let minute = buildID.slice(10, 12); - if (Services.prefs.getBoolPref("general.useragent.appVersionIsBuildID")) { - versionField.textContent = `${year}.${month}.${day}`; - } else { - versionField.textContent = `v` + version + ` (${year}-${month}-${day})`; - } - - // Display warning if this is an "a#" (nightly or aurora) build - if (/a\d+$/.test(version)) { - document.getElementById("experimental").hidden = false; - document.getElementById("communityDesc").hidden = true; - } // Append "(32-bit)" or "(64-bit)" build architecture to the version number: let bundle = Services.strings.createBundle("chrome://browser/locale/browser.properties"); |