aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/settings/popup-preview-frame-main.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/settings/popup-preview-frame-main.js')
-rw-r--r--ext/bg/js/settings/popup-preview-frame-main.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/bg/js/settings/popup-preview-frame-main.js b/ext/bg/js/settings/popup-preview-frame-main.js
index a362efa5..7c4e2eb9 100644
--- a/ext/bg/js/settings/popup-preview-frame-main.js
+++ b/ext/bg/js/settings/popup-preview-frame-main.js
@@ -16,11 +16,12 @@
*/
/* global
- * SettingsPopupPreview
+ * PopupPreviewFrame
* api
*/
-(() => {
+(async () => {
api.forwardLogsToBackend();
- new SettingsPopupPreview();
+ const preview = new PopupPreviewFrame();
+ await preview.prepare();
})();