remove cb-in-check class when placing pieces
This commit is contained in:
parent
a7df98a990
commit
36d9a8654d
|
|
@ -228,6 +228,7 @@ $(function (){
|
|||
piece.stop(true);
|
||||
piece.attr('id', piece_id);
|
||||
piece.removeClass('cb-selected');
|
||||
piece.removeClass('cb-in-check');
|
||||
piece.removeAttr('style');
|
||||
piece.data({ side: side, type: type, location: where });
|
||||
piece.appendTo(cbSquare(where));
|
||||
|
|
|
|||
Loading…
Reference in New Issue