remove cb-in-check class when placing pieces

This commit is contained in:
Jesse D. McDonald 2020-04-05 20:48:36 -05:00
parent a7df98a990
commit 36d9a8654d
1 changed files with 1 additions and 0 deletions

View File

@ -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));