summaryrefslogtreecommitdiff
path: root/ext/bg/js/welcome-main.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/welcome-main.js')
-rw-r--r--ext/bg/js/welcome-main.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/bg/js/welcome-main.js b/ext/bg/js/welcome-main.js
index 504bd88b..8d43fdb0 100644
--- a/ext/bg/js/welcome-main.js
+++ b/ext/bg/js/welcome-main.js
@@ -28,9 +28,11 @@
*/
async function setupEnvironmentInfo() {
+ const {manifest_version: manifestVersion} = chrome.runtime.getManifest();
const {browser, platform} = await api.getEnvironmentInfo();
document.documentElement.dataset.browser = browser;
document.documentElement.dataset.os = platform.os;
+ document.documentElement.dataset.manifestVersion = `${manifestVersion}`;
}
async function setupGenericSettingsController(genericSettingController) {