summaryrefslogtreecommitdiffstats
path: root/toolkit/content/aboutSupport.js
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-06-13 23:23:55 +0200
committerGitHub <noreply@github.com>2018-06-13 23:23:55 +0200
commitfaa4a1c44f200c77a7e6ba0a559c1309653fda38 (patch)
tree937782cb6f5d5a12780a08261d98e3c86a732a34 /toolkit/content/aboutSupport.js
parentb2cb0427838a2f4f51be0366004549efb5d206fb (diff)
parente08b25667f20c83cd66e7f55dd98f16ae982974b (diff)
downloadUXP-faa4a1c44f200c77a7e6ba0a559c1309653fda38.tar
UXP-faa4a1c44f200c77a7e6ba0a559c1309653fda38.tar.gz
UXP-faa4a1c44f200c77a7e6ba0a559c1309653fda38.tar.lz
UXP-faa4a1c44f200c77a7e6ba0a559c1309653fda38.tar.xz
UXP-faa4a1c44f200c77a7e6ba0a559c1309653fda38.zip
Merge pull request #493 from janekptacijarabaci/toolkit_version_architecture_1
Add architecture detection to "about:" and "about:support"
Diffstat (limited to 'toolkit/content/aboutSupport.js')
-rw-r--r--toolkit/content/aboutSupport.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolkit/content/aboutSupport.js b/toolkit/content/aboutSupport.js
index 7209b7ad0..016549f43 100644
--- a/toolkit/content/aboutSupport.js
+++ b/toolkit/content/aboutSupport.js
@@ -42,6 +42,9 @@ var snapshotFormatters = {
$("os-box").textContent = data.osVersion;
$("supportLink").href = data.supportURL;
let version = AppConstants.MOZ_APP_VERSION_DISPLAY;
+ if (data.versionArch) {
+ version += " (" + data.versionArch + ")";
+ }
if (data.vendor)
version += " (" + data.vendor + ")";
$("version-box").textContent = version;