Chessboard: mark commented moves.
This commit is contained in:
parent
f011f4eba0
commit
82a9f322e3
@ -17,6 +17,12 @@ function customFunctionOnPgnGameLoad() {
|
||||
function customFunctionOnMove() {
|
||||
refreshButtonset();
|
||||
|
||||
/* Mark commented moves */
|
||||
for (var Ply = 1; Ply <= PlyNumberVar[0]; Ply++) {
|
||||
if (strippedMoveComment(Ply, 0, true))
|
||||
$('#Var0Mv' + Ply).addClass('bg-info');
|
||||
}
|
||||
|
||||
/* Show move comment */
|
||||
if (CurrentVar == 0 && (theObj = document.getElementById("GameMoveComment"))) {
|
||||
theObj.innerHTML = '<span class="comment">' +
|
||||
|
Loading…
Reference in New Issue
Block a user