diff options
Diffstat (limited to 'ext/js/pages/permissions-main.js')
-rw-r--r-- | ext/js/pages/permissions-main.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ext/js/pages/permissions-main.js b/ext/js/pages/permissions-main.js index 58dae310..e4ac3f3d 100644 --- a/ext/js/pages/permissions-main.js +++ b/ext/js/pages/permissions-main.js @@ -86,7 +86,8 @@ function setupPermissionsToggles() { } } -(async () => { +/** Entry point. */ +async function main() { try { const documentFocusController = new DocumentFocusController(); documentFocusController.prepare(); @@ -140,4 +141,6 @@ function setupPermissionsToggles() { } catch (e) { log.error(e); } -})(); +} + +await main(); |