diff options
Diffstat (limited to 'ui.js')
-rw-r--r-- | ui.js | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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() { |