diff options
-rw-r--r-- | play.html | 2 | ||||
-rw-r--r-- | play.js | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -176,7 +176,7 @@ <section id = "sec_samizdat">
<div id="samizdat_panel" class="panel">
<div id="samizdat_header" class="panel_header">Set aside card</div>
- <div id="samizdat" class="panel_body"></div>
+ <div id="samizdat_card" class="panel_body"></div>
</div>
</section>
@@ -525,8 +525,9 @@ if (view.ceausescu_cards && view.ceausescu_cards.length > 0 && view.is_pwr_strug // SAMIZDAT CARD
if (view.samizdat > 0 ) {
+ let samizdat_card = ui.cards[view.samizdat]
document.getElementById("samizdat_panel").classList.remove("hide")
- document.getElementById("samizdat_hand").appendChild(view.samizdat)
+ document.getElementById("samizdat_card").appendChild(samizdat_card)
} else {
document.getElementById("samizdat_panel").classList.add("hide")
}
|