diff options
-rw-r--r-- | play.html | 4 | ||||
-rw-r--r-- | ui.js | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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> @@ -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 = []; |