fix betterMenuScreens

This commit is contained in:
GGodPL 2023-07-31 01:03:42 +02:00 committed by GitHub
parent da870972ab
commit 7b4724a6db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ var menuScreens = {
infoSearch.value = ""; infoSearch.value = "";
infoHistory = []; infoHistory = [];
}, },
open: showInfo open: () => {showInfo();}
}, },
mods: { mods: {
name: "Mods", name: "Mods",
@ -36,14 +36,14 @@ var menuScreens = {
modParent.style.display = "none"; modParent.style.display = "none";
modManagerUrl.value = ""; modManagerUrl.value = "";
}, },
open: showModManager open: () => {showModManager();}
}, },
settings: { settings: {
name: "Settings", name: "Settings",
parentDiv: "settingsParent", parentDiv: "settingsParent",
buttonDescription: "Brings up the settings screen", buttonDescription: "Brings up the settings screen",
show: true, show: true,
open: showSettings open: () => {showSettings();}
} }
} }