summaryrefslogtreecommitdiffstats
path: root/toolkit/content/aboutSupport.js
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-06-13 17:31:46 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-06-13 17:31:46 +0200
commite08b25667f20c83cd66e7f55dd98f16ae982974b (patch)
tree7a8d031f121417cb735c5c6e7bb0cec647482d26 /toolkit/content/aboutSupport.js
parent27a19a14646f23194ecfe87530dd8d1d5b25fa57 (diff)
downloadUXP-e08b25667f20c83cd66e7f55dd98f16ae982974b.tar
UXP-e08b25667f20c83cd66e7f55dd98f16ae982974b.tar.gz
UXP-e08b25667f20c83cd66e7f55dd98f16ae982974b.tar.lz
UXP-e08b25667f20c83cd66e7f55dd98f16ae982974b.tar.xz
UXP-e08b25667f20c83cd66e7f55dd98f16ae982974b.zip
Add architecture detection to "about:" and "about:support"
Issue #492
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;