Cosmetics
[vchess.git] / client / src / components / MoveList.vue
index 6e3a90d..6f2eb31 100644 (file)
@@ -79,7 +79,7 @@ export default {
       processModalClick);
     if ("ontouchstart" in window) {
       // Disable tooltips on smartphones:
-      document.getElementsByClassName("tooltip").forEach(elt => {
+      document.querySelectorAll("#aboveMoves .tooltip").forEach(elt => {
         elt.classList.remove("tooltip");
       });
     }