MCPcopy
hub / github.com/stemdeckapp/stemdeck / wireSettingsMenu

Function wireSettingsMenu

static/js/catalog.js:2166–2173  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2164}
2165
2166function wireSettingsMenu() {
2167 const btn = document.getElementById("settingsBtn");
2168 if (!btn || btn.dataset.menuReady === "1") return;
2169 btn.dataset.menuReady = "1";
2170 // The only setting today is the library, so Settings opens the Edit Library
2171 // window directly (a centered modal, like the About dialog).
2172 btn.addEventListener("click", openLibraryEditor);
2173}
2174
2175export async function initCatalog() {
2176 await loadState();

Callers 1

initCatalogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected