aboutsummaryrefslogtreecommitdiff
path: root/ext/js/pages/welcome-main.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2022-05-28 21:57:25 -0400
committerGitHub <noreply@github.com>2022-05-28 21:57:25 -0400
commit0d82c52a7624d80ec48dc774fb23db5244bc14f9 (patch)
treece8f7c24250d24c2c4d1eae6c48dfe319de46d57 /ext/js/pages/welcome-main.js
parent4e4fa49b0b1fd6ec5a018e742eb9910aa32e7637 (diff)
HTML page script refactoring (#2162)
* Move some common functionality * Move setupEnvironmentInfo into ExtensionContentController * Move background/environment.js to extension/environment.js
Diffstat (limited to 'ext/js/pages/welcome-main.js')
-rw-r--r--ext/js/pages/welcome-main.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/js/pages/welcome-main.js b/ext/js/pages/welcome-main.js
index c6c7911d..16ef7b52 100644
--- a/ext/js/pages/welcome-main.js
+++ b/ext/js/pages/welcome-main.js
@@ -19,6 +19,7 @@
* DictionaryController
* DictionaryImportController
* DocumentFocusController
+ * ExtensionContentController
* GenericSettingController
* ModalController
* ScanInputsSimpleController
@@ -45,6 +46,9 @@ async function setupGenericSettingsController(genericSettingController) {
const documentFocusController = new DocumentFocusController();
documentFocusController.prepare();
+ const extensionContentController = new ExtensionContentController();
+ extensionContentController.prepare();
+
const statusFooter = new StatusFooter(document.querySelector('.status-footer-container'));
statusFooter.prepare();