This commit is contained in:
cay 2026-04-04 12:00:33 +01:00
parent c324bb0447
commit 21681ea96e

View File

@ -33,6 +33,9 @@ export async function loadCardDeck() {
const body = document.getElementById("qm-body-carddeck");
if (!body) return;
currentDeckId = null;
deckCards = [];
body.innerHTML = renderShell();
attachShellEvents();
@ -597,6 +600,7 @@ function renderDeckSelect() {
`<option value="${d.id}" ${d.id === currentDeckId ? "selected" : ""}>${d.name}</option>`,
)
.join("");
sel.value = currentDeckId || "";
}
/*