.addEventListener("click", processModalClick);
if ("ontouchstart" in window) {
// Disable tooltips on smartphones:
- document.getElementsByClassName("tooltip").forEach(elt => {
+ document.querySelectorAll("#aboveBoard .tooltip").forEach(elt => {
elt.classList.remove("tooltip");
});
}