user14159

Results 6 comments of user14159

In chessboard-0.3.0.js look under the heading Markup Building for the function buildSparePieces. ``` function buildSparePieces(color) { var pieces = ['wK', 'wQ', 'wR', 'wB', 'wN', 'wP']; if (color === 'black') {...

The site2.css looks to be meant for the examples page. All you need is the chessboard-0.3.0.css file. Speaking of customizing piece themes, anyone have any idea where I'm going wrong...

To answer my question, adding board.resize() after changing cfg.pieceTheme seems to do the trick for refreshing the pieces. Not sure that it's the proper solution, though.

Thanks but this solution runs into all sorts of disappearing piece problems in cases where the attempted move is illegal. Take a look at this solution: https://github.com/oakmac/chessboardjs/pull/86 It still has...

Thanks andrei-markeev and MaligynK for this fix. Now is there a way to trash the dragged piece if it's been captured by the opponent in the meantime?

Looks okay over here. Try downloading the original from http://chessboardjs.com/ and see if it has the same problem. If not, you can compare the two to track down the issue.