summaryrefslogtreecommitdiff
path: root/ext/bg/js/settings
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/settings')
-rw-r--r--ext/bg/js/settings/popup-preview-frame-main.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/bg/js/settings/popup-preview-frame-main.js b/ext/bg/js/settings/popup-preview-frame-main.js
index e6e4727f..86c2814c 100644
--- a/ext/bg/js/settings/popup-preview-frame-main.js
+++ b/ext/bg/js/settings/popup-preview-frame-main.js
@@ -19,9 +19,7 @@
* SettingsPopupPreview
*/
-async function main() {
+(async () => {
const instance = new SettingsPopupPreview();
await instance.prepare();
-}
-
-main();
+})();