diff options
Diffstat (limited to 'ext/js/pages/welcome-main.js')
-rw-r--r-- | ext/js/pages/welcome-main.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ext/js/pages/welcome-main.js b/ext/js/pages/welcome-main.js index d208e996..fbb60fe8 100644 --- a/ext/js/pages/welcome-main.js +++ b/ext/js/pages/welcome-main.js @@ -48,7 +48,8 @@ async function setupGenericSettingsController(genericSettingController) { await genericSettingController.refresh(); } -(async () => { +/** Entry point. */ +async function main() { try { const documentFocusController = new DocumentFocusController(); documentFocusController.prepare(); @@ -104,4 +105,6 @@ async function setupGenericSettingsController(genericSettingController) { } catch (e) { log.error(e); } -})(); +} + +await main(); |