var ims = 0;
/** @type {boolean} @private */
-var sort_refutation_lines_by_score = false;
+var sort_refutation_lines_by_score = true;
/** @type {!string|undefined} @private */
var highlight_from = undefined;
update_highlight();
redraw_arrows();
});
+ $(window).keyup(function(event) {
+ if (event.which == 39) {
+ next_move();
+ } else if (event.which == 37) {
+ prev_move();
+ }
+ });
};
$(document).ready(init);