Update betterModManager.js

updateModManager should be called on load
This commit is contained in:
GGodPL 2023-07-10 14:06:28 +02:00 committed by GitHub
parent c4debc0cff
commit ffbd81e2b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -114,8 +114,7 @@ function openModList() {
showingMenu = "modList";
}
// called just once, changes the menu title, adds the button, changes the modManagerList css and adds modList component
updateModManager();
runAfterLoadList.push(updateModManager);
closeMenu = function() {
if (!showingMenu) { return; }