mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
fix: requiring reload on install to function
This commit is contained in:
@@ -8,6 +8,7 @@ import browser from "webextension-polyfill";
|
||||
|
||||
import * as plugins from "@/plugins";
|
||||
import { main } from "@/seqta/main";
|
||||
import { delay } from "./seqta/utils/delay";
|
||||
|
||||
export let MenuOptionsOpen = false;
|
||||
|
||||
@@ -45,6 +46,8 @@ async function init() {
|
||||
|
||||
if (typeof settingsState.onoff === "undefined") {
|
||||
await browser.runtime.sendMessage({ type: "setDefaultStorage" });
|
||||
|
||||
await delay(5);
|
||||
}
|
||||
|
||||
await main();
|
||||
|
||||
Reference in New Issue
Block a user