fix miniboard last move
This commit is contained in:
parent
c9195ce954
commit
d62757b564
|
@ -632,7 +632,7 @@ lichess.unique = function(xs) {
|
|||
var lastMove = [];
|
||||
if (lm) {
|
||||
if (lm[1] === '@') lastMove = [lm.slice(2), lm.slice(2)];
|
||||
else lm = [lm[0] + lm[1], lm[2] + lm[3]];
|
||||
else lastMove = [lm[0] + lm[1], lm[2] + lm[3]];
|
||||
}
|
||||
var color = $this.data('color') || lichess.readServerFen($(this).data('y'));
|
||||
var ground = $this.data('chessground');
|
||||
|
|
Loading…
Reference in a new issue