diff options
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -225,6 +225,7 @@ function hide_popup_menu() { document.getElementById("popup").style.display = "none"
document.getElementById("popup_ceh_check").style.display = "none"
document.getElementById("popup_opp_event").style.display = "none"
+ document.getElementById("popup_tst_8").style.display = "none"
}
@@ -268,8 +269,14 @@ function on_click_card(evt) { if (send_action('card', card)) {
evt.stopPropagation();
}
- //Check for Common European Home
- } else if (is_card_action('card_ceh', card)) {
+ }
+ //First check for TST special power
+ else if (is_card_action('card_tst_8', card)) {
+ show_popup_menu(evt, "popup_tst_8", card, cards[card].name)
+ }
+
+ //Check for Common European Home
+ else if (is_card_action('card_ceh', card)) {
show_popup_menu(evt, "popup_ceh_check", card, cards[card].name)
} else if (is_card_action('card_opp_event', card)) {
console.log('in action card_opp_event')
|