- $("#score").text("No analysis for this move");
- $("#pvtitle").text("PV:");
- $("#pv").empty();
- $("#searchstats").html(" ");
- $("#refutationlines").empty();
- $("#whiteclock").empty();
- $("#blackclock").empty();
+ document.getElementById("score").textContent = "No analysis for this move";
+ document.getElementById("pvtitle").textContent = "PV:";
+ document.getElementById("pv").replaceChildren();
+ document.getElementById("searchstats").innerHTML = " ";
+ document.getElementById("refutationlines").replaceChildren();
+ document.getElementById("whiteclock").replaceChildren();
+ document.getElementById("blackclock").replaceChildren();