wefr
This commit is contained in:
parent
f68f029cee
commit
aff309cfe5
@ -125,13 +125,23 @@
|
|||||||
|
|
||||||
for (let i = 1; i <= 11; i++) {
|
for (let i = 1; i <= 11; i++) {
|
||||||
const s = document.createElement("div");
|
const s = document.createElement("div");
|
||||||
|
|
||||||
s.className = "card-slot";
|
s.className = "card-slot";
|
||||||
|
|
||||||
s.innerHTML =
|
// Erster Slot in Reihe 1: Silberklinge hardcodiert
|
||||||
'<span class="slot-icon">✦</span><span class="slot-num">' +
|
if (id === "row1" && i === 1) {
|
||||||
i +
|
s.innerHTML = `
|
||||||
"</span>";
|
<img
|
||||||
|
src="/images/playcards/Silberklinge.png"
|
||||||
|
alt="Silberklinge"
|
||||||
|
style="width:100%;height:100%;object-fit:cover;border-radius:7px;"
|
||||||
|
>
|
||||||
|
`;
|
||||||
|
} else {
|
||||||
|
s.innerHTML =
|
||||||
|
'<span class="slot-icon">✦</span><span class="slot-num">' +
|
||||||
|
i +
|
||||||
|
"</span>";
|
||||||
|
}
|
||||||
|
|
||||||
row.appendChild(s);
|
row.appendChild(s);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user