From: Matteo Nastasi Date: Sun, 3 May 2020 11:40:31 +0000 (+0200) Subject: disabled class cleanup for played cards X-Git-Tag: v5.10.0~24 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=9fcaaa406e6cb9ae9ff64674d89236a8cade096b;p=brisk.git disabled class cleanup for played cards --- diff --git a/web/briskin5/dnd.js b/web/briskin5/dnd.js index c50694f..04b158e 100644 --- a/web/briskin5/dnd.js +++ b/web/briskin5/dnd.js @@ -548,7 +548,7 @@ function card_postplay_ea(card_pos) { var img = $("card_ea"+card_pos); - img.className = ""; + // img.className = ""; for (i = 0 ; i < cards_ea_n ; i++) { if (cards_ea_pos[i] == card_pos) { for (e = i ; e < cards_ea_n-1 ; e++) { @@ -584,8 +584,7 @@ function card_postplay_ne(obj,card_pos) { var img = $("card_ne"+card_pos); - img.className = ""; - + // img.className = ""; for (i = 0 ; i < cards_ne_n ; i++) { if (cards_ne_pos[i] == card_pos) { for (e = i ; e < cards_ne_n-1 ; e++) { @@ -619,7 +618,7 @@ function card_postplay_nw(card_pos) { var img = $("card_nw"+card_pos); - img.className = ""; + // img.className = ""; for (i = 0 ; i < cards_nw_n ; i++) { if (cards_nw_pos[i] == card_pos) { for (e = i ; e < cards_nw_n-1 ; e++) { @@ -653,7 +652,7 @@ function card_postplay_we(card_pos) { var img = $("card_we"+card_pos); - img.className = ""; + // img.className = ""; for (i = 0 ; i < cards_we_n ; i++) { if (cards_we_pos[i] == card_pos) { for (e = i ; e < cards_we_n-1 ; e++) {