summaryrefslogtreecommitdiff
path: root/ext/js/pages/generic-page-main.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/pages/generic-page-main.js')
-rw-r--r--ext/js/pages/generic-page-main.js11
1 files changed, 5 insertions, 6 deletions
diff --git a/ext/js/pages/generic-page-main.js b/ext/js/pages/generic-page-main.js
index cfb89609..bde7394b 100644
--- a/ext/js/pages/generic-page-main.js
+++ b/ext/js/pages/generic-page-main.js
@@ -17,16 +17,15 @@
/* global
* DocumentFocusController
+ * ExtensionContentController
*/
-function setupEnvironmentInfo() {
- const {manifest_version: manifestVersion} = chrome.runtime.getManifest();
- document.documentElement.dataset.manifestVersion = `${manifestVersion}`;
-}
-
(() => {
const documentFocusController = new DocumentFocusController();
documentFocusController.prepare();
+
+ const extensionContentController = new ExtensionContentController();
+ extensionContentController.prepare();
+
document.documentElement.dataset.loaded = 'true';
- setupEnvironmentInfo();
})();