rsjtzsr
This commit is contained in:
parent
c324bb0447
commit
21681ea96e
@ -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 || "";
|
||||
}
|
||||
|
||||
/* ══════════════════════════════════════════════
|
||||
|
||||
Loading…
Reference in New Issue
Block a user