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 0e8dbbc..4061cbd 100644
--- a/ui.js
+++ b/ui.js
@@ -647,13 +647,13 @@ function update_cards() {
}
if (!game.e_card)
- document.querySelector("#england_card").className = "small_card card_back";
+ document.getElementById("england_card").className = "small_card card_back";
else
- document.querySelector("#england_card").className = "small_card " + CARDS[game.e_card].image;
+ document.getElementById("england_card").className = "small_card " + CARDS[game.e_card].image;
if (!game.s_card)
- document.querySelector("#scotland_card").className = "small_card card_back";
+ document.getElementById("scotland_card").className = "small_card card_back";
else
- document.querySelector("#scotland_card").className = "small_card " + CARDS[game.s_card].image;
+ document.getElementById("scotland_card").className = "small_card " + CARDS[game.s_card].image;
}
function update_battle() {