X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=www%2Fjs%2Fremoteglot.js;fp=www%2Fjs%2Fremoteglot.js;h=ae522e26113c9869d61ef81d47bce9d4f046c4d7;hp=1218dd3cbe9ae719b4409374564c1fb37510db6f;hb=0b8e23ee197dcc239a1ea0d818b541cba36b98b6;hpb=53b25fd8b0091a0a1458eb30821f809dba198987 diff --git a/www/js/remoteglot.js b/www/js/remoteglot.js index 1218dd3..ae522e2 100644 --- a/www/js/remoteglot.js +++ b/www/js/remoteglot.js @@ -1903,7 +1903,7 @@ function update_move_highlight() { document.getElementById("pvtitle").textContent = "Exploring:"; current_display_line.start_display_move_num = 0; display_lines.push(current_display_line); - document.getElementById("pv").append(print_pv(display_lines.length - 1, null)); // FIXME + document.getElementById("pv").replaceChildren(print_pv(display_lines.length - 1, null)); // FIXME display_line_num = display_lines.length - 1; // Clear out the PV, so it's not selected by anything later.