summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.html2
-rw-r--r--play.js3
2 files changed, 3 insertions, 2 deletions
diff --git a/play.html b/play.html
index 742ccc5..0046587 100644
--- a/play.html
+++ b/play.html
@@ -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>
diff --git a/play.js b/play.js
index 8f3b780..a82a8b0 100644
--- a/play.js
+++ b/play.js
@@ -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")
}