X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=www%2Fjs%2Fremoteglot.js;h=4e7a2efc262d73e2d6a4dac6aeb5ea11dc410a66;hp=a991a0242388fc3bee32b2f9143143869dff825a;hb=aae509c47c3031f26f12b5cc084d3f9b48543dd7;hpb=b747ed2766d3409da9c0330f7ae011b5f24bede2 diff --git a/www/js/remoteglot.js b/www/js/remoteglot.js index a991a02..4e7a2ef 100644 --- a/www/js/remoteglot.js +++ b/www/js/remoteglot.js @@ -1647,6 +1647,9 @@ var update_move_highlight = function() { display_lines.push(current_display_line); $("#pv").html(print_pv(display_lines.length - 1)); display_line_num = display_lines.length - 1; + + // Clear out the PV, so it's not selected by anything later. + display_lines[1].pretty_pv = []; } highlighted_move = $("#automove" + display_line_num + "-" + (current_display_move - current_display_line.start_display_move_num));