mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
fix occassional light flash when loading seqta
This commit is contained in:
+5
-6
@@ -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 });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user