diff --git a/public/js/quickmenu/carddeck.js b/public/js/quickmenu/carddeck.js index cdd7a09..c405340 100644 --- a/public/js/quickmenu/carddeck.js +++ b/public/js/quickmenu/carddeck.js @@ -34,7 +34,7 @@ export async function loadCardDeck() { if (!body) return; currentDeckId = null; - deckCards = []; + deckCards = []; body.innerHTML = renderShell(); attachShellEvents(); @@ -339,7 +339,7 @@ function renderShell() { flex: 1; background: linear-gradient(#2a1a08, #1a0f04); border: 2px solid #6b4b2a; border-radius: 7px; - color: #f0d9a6; font-family: "Cinzel", serif; font-size: 12px; + color: #ffffff; font-family: "Cinzel", serif; font-size: 12px; padding: 6px 10px; cursor: pointer; outline: none; } .kd-deck-select:focus { border-color: #f0d060; } @@ -872,7 +872,10 @@ function attachShellEvents() { document.getElementById("kd-deck-grid").innerHTML = `
Kein Deck ausgewählt.
`; document.getElementById("kd-deck-info").innerHTML = ""; - renderCollectionGrid(document.getElementById("kd-grid"), userCardsCache); + renderCollectionGrid( + document.getElementById("kd-grid"), + userCardsCache, + ); return; } currentDeckId = val;