js/pgnvjs.js
/**
     * Unmark all marked moves, mark the next one.
     * @param next the next move number
     */
Unmark all marked moves, mark the next one.
@param next the next move number
Unmark all marked moves mark the next one . @param next the next move number
function unmarkMark(next) {
        var moveASpan = function(i) {
            return document.querySelector('#' + movesId + i + '> a');
        };
        removeClass(document.querySelector('#' + movesId + " a.yellow"), 'yellow');
        addClass(moveASpan(next), 'yellow');
    }
function unmarkMark ( next ) { var moveASpan = function ( i ) { return document . querySelector ( '#' + movesId + i + '> a' ) ; } ; removeClass ( document . querySelector ( '#' + movesId + " a.yellow" ) , 'yellow' ) ; addClass ( moveASpan ( next ) , 'yellow' ) ; }
Unmark all marked moves, mark the next one.
Unmark all marked moves mark the next one .