diff --git a/src/SEQTA.ts b/src/SEQTA.ts index 48273bac..edc98f42 100644 --- a/src/SEQTA.ts +++ b/src/SEQTA.ts @@ -716,15 +716,15 @@ function main(storedSetting: SettingsState) { if (DarkMode) { document.documentElement.classList.add('dark'); } - - InjectStyles(); - InjectCustomIcons(); - loading(); + updateAllColors(storedSetting); + InjectStyles(); + loading(); + InjectCustomIcons(); HideMenuItems(); CheckLoadOnPeriods(); tryLoad(); - + window.addEventListener('load', tryLoad); } else { handleDisabled() @@ -870,7 +870,6 @@ function addExtensionSettings() { function saveNewOrder(sortable: any) { var order = sortable.toArray(); - console.log("Order: ", order); browser.storage.local.set({ menuorder: order }); } diff --git a/src/seqta/ui/Loading.ts b/src/seqta/ui/Loading.ts index fbac1fbe..a0c93768 100644 --- a/src/seqta/ui/Loading.ts +++ b/src/seqta/ui/Loading.ts @@ -20,8 +20,28 @@ export function AppendLoadingSymbol(givenID: any, position: any) { export default function loading() { let loadinghtml = stringToHTML( String.raw` -
+