if ("ontouchstart" in window) {
// Disable tooltips on smartphones:
document.querySelectorAll("#aboveMoves .tooltip").forEach(elt => {
if ("ontouchstart" in window) {
// Disable tooltips on smartphones:
document.querySelectorAll("#aboveMoves .tooltip").forEach(elt => {