'(<a class="move" href="javascript:collapse_history(true)">collapse</a>) ' +
print_pv(0));
}
+ update_move_highlight();
}
/**
var tbl = $("#refutationlines");
tbl.empty();
+ if (display_lines.length < 2) {
+ return;
+ }
+
// Find out where the lines start from.
var base_line = [];
var base_scores = display_lines[1].scores;
}
// FIXME: at some widths, calling sparkline() seems to push
// #scorecontainer under the board.
+ $('#scorespark').unbind('sparklineClick');
$("#scorespark").sparkline(scores, {
type: 'bar',
zeroColor: 'gray',
return format_tooltip(data, fields[0].offset + first_move_num - 1);
}
});
+ $('#scorespark').unbind('sparklineClick');
$('#scorespark').bind('sparklineClick', function(event) {
var sparkline = event.sparklines[0];
var region = sparkline.getCurrentRegionFields();