diff options
Diffstat (limited to 'ext/js/display/popup-main.js')
-rw-r--r-- | ext/js/display/popup-main.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ext/js/display/popup-main.js b/ext/js/display/popup-main.js index 6b07b63f..fdb95508 100644 --- a/ext/js/display/popup-main.js +++ b/ext/js/display/popup-main.js @@ -27,7 +27,8 @@ import {DisplayProfileSelection} from './display-profile-selection.js'; import {DisplayResizer} from './display-resizer.js'; import {Display} from './display.js'; -(async () => { +/** Entry point. */ +async function main() { try { const documentFocusController = new DocumentFocusController(); documentFocusController.prepare(); @@ -64,4 +65,6 @@ import {Display} from './display.js'; } catch (e) { log.error(e); } -})(); +} + +await main(); |