summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.html4
-rw-r--r--ui.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/play.html b/play.html
index 064d054..9f16a10 100644
--- a/play.html
+++ b/play.html
@@ -40,7 +40,7 @@
padding: 3px;
}
-.hand.greek {
+#hand.greek {
background-color: rosybrown;
border-radius: 10px;
}
@@ -414,7 +414,7 @@
</div>
- <div class="hand">
+ <div id="hand" class="hand">
<div id="card_1" class="card card_1"></div>
<div id="card_2" class="card card_2"></div>
<div id="card_3" class="card card_3"></div>
diff --git a/ui.js b/ui.js
index 71e3634..ec0ee88 100644
--- a/ui.js
+++ b/ui.js
@@ -369,9 +369,9 @@ function on_update() {
}
if (game.show_greek_hand)
- document.querySelector(".hand").classList.add("greek");
+ document.getElementById("hand").classList.add("greek");
else
- document.querySelector(".hand").classList.remove("greek");
+ document.getElementById("hand").classList.remove("greek");
function update_units(index, elements) {
let overflow = [];