Show all the game text, not only PGN notation.
This commit is contained in:
@@ -16,18 +16,6 @@ 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">' +
|
||||
strippedMoveComment(CurrentPly, 0, true) + '</span>';
|
||||
}
|
||||
}
|
||||
function refreshButtonset() {
|
||||
$('#GameButtons input').addClass('btn btn-default');
|
||||
|
Reference in New Issue
Block a user