diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-01-01 01:38:11 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:12:55 +0100 |
commit | f55843621918f9b28ed03111b535d934508f9a38 (patch) | |
tree | 3d6c75e3b9607c397e794a18c89af7fca9053787 /play.js | |
parent | 443438629b1c6a3386aeef5b0ab33593d21a7e24 (diff) | |
download | richard-iii-f55843621918f9b28ed03111b535d934508f9a38.tar.gz |
Split into separate module.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -634,13 +634,13 @@ function update_cards() { } if (!game.l_card) - document.getElementById("lancaster_card").className = "small_card card_back"; + document.getElementById("lancaster_card").className = "show card card_back"; else - document.getElementById("lancaster_card").className = "small_card " + CARDS[game.l_card].image; + document.getElementById("lancaster_card").className = "show card " + CARDS[game.l_card].image; if (!game.y_card) - document.getElementById("york_card").className = "small_card card_back"; + document.getElementById("york_card").className = "show card card_back"; else - document.getElementById("york_card").className = "small_card " + CARDS[game.y_card].image; + document.getElementById("york_card").className = "show card " + CARDS[game.y_card].image; } function update_battle() { |