set title of config button

This commit is contained in:
ZXMushroom63 2025-03-16 16:18:11 +08:00
parent 0f530dce2a
commit fb8097b16b

View File

@ -260,7 +260,7 @@ globalThis.modapi_guikit = "(" + (() => {
if (typeof ModAPI.meta._configMap[hash] === "function") {
var configBtn = document.createElement("button");
configBtn.innerText = "Delete";
configBtn.innerText = "Config";
configBtn.style.height = "3rem";
configBtn.addEventListener("click", async () => {
ModAPI.meta._configMap[hash]();