aboutsummaryrefslogtreecommitdiff
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.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/bg/js/welcome-main.js b/ext/bg/js/welcome-main.js
index 8d43fdb0..cbc7e2f8 100644
--- a/ext/bg/js/welcome-main.js
+++ b/ext/bg/js/welcome-main.js
@@ -18,6 +18,7 @@
/* global
* DictionaryController
* DictionaryImportController
+ * DocumentFocusController
* GenericSettingController
* ModalController
* ScanInputsSimpleController
@@ -42,7 +43,8 @@ async function setupGenericSettingsController(genericSettingController) {
(async () => {
try {
- document.querySelector('#content-scroll-focus').focus();
+ const documentFocusController = new DocumentFocusController();
+ documentFocusController.prepare();
const statusFooter = new StatusFooter(document.querySelector('.status-footer-container'));
statusFooter.prepare();