var highlight_to = undefined;
/** The HTML object of the move currently being highlighted (in red).
- * @type {?jQuery}
+ * @type {?Element}
* @private */
var highlighted_move = null;
update_board();
return;
} else {
- current_display_line = jQuery.extend({}, display_lines[line_num]); // Shallow clone.
+ current_display_line = {...display_lines[line_num]}; // Shallow clone.
current_display_move = move_num + current_display_line.start_display_move_num;
}
current_display_line_is_history = (line_num == 0);