Sv443 4 mesiacov pred
rodič
commit
ab5327bce0
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      src/menu/menu_old.ts

+ 2 - 2
src/menu/menu_old.ts

@@ -926,13 +926,13 @@ export async function openCfgMenu() {
   emitInterface("bytm:dialogOpened", undefined as unknown as BytmDialog);
   emitInterface("bytm:dialogOpened:cfg-menu" as "bytm:dialogOpened:id", undefined as unknown as BytmDialog);
 
-  checkToggleScrollIndicator();
-
   if(!menuBg)
     return warn("Couldn't open config menu because background element couldn't be found. The config menu is considered open but might still be closed. In this case please reload the page. If the issue persists, please create an issue on GitHub.");
 
   menuBg.style.visibility = "visible";
   menuBg.style.display = "block";
+
+  checkToggleScrollIndicator();
 }
 
 //#region chk scroll indicator