summaryrefslogtreecommitdiff
path: root/ext/js/background/offscreen-main.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/background/offscreen-main.js')
-rw-r--r--ext/js/background/offscreen-main.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/js/background/offscreen-main.js b/ext/js/background/offscreen-main.js
index f85908bd..aac5b8f2 100644
--- a/ext/js/background/offscreen-main.js
+++ b/ext/js/background/offscreen-main.js
@@ -19,8 +19,9 @@
import {Offscreen} from './offscreen.js';
/** Entry point. */
-async function main() {
- new Offscreen();
+function main() {
+ const offscreen = new Offscreen();
+ offscreen.prepare();
}
-await main();
+main();