summaryrefslogtreecommitdiff
path: root/ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui.js')
-rw-r--r--ui.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui.js b/ui.js
index 609c20d..0799191 100644
--- a/ui.js
+++ b/ui.js
@@ -664,13 +664,13 @@ function update_cards() {
}
if (!game.l_card)
- document.querySelector("#lancaster_card").className = "small_card card_back";
+ document.getElementById("lancaster_card").className = "small_card card_back";
else
- document.querySelector("#lancaster_card").className = "small_card " + CARDS[game.l_card].image;
+ document.getElementById("lancaster_card").className = "small_card " + CARDS[game.l_card].image;
if (!game.y_card)
- document.querySelector("#york_card").className = "small_card card_back";
+ document.getElementById("york_card").className = "small_card card_back";
else
- document.querySelector("#york_card").className = "small_card " + CARDS[game.y_card].image;
+ document.getElementById("york_card").className = "small_card " + CARDS[game.y_card].image;
}
function update_battle() {