Fix tooltips removal on smartphone
authorBenjamin Auder <benjamin.auder@somewhere>
Wed, 8 Apr 2020 18:38:20 +0000 (20:38 +0200)
committerBenjamin Auder <benjamin.auder@somewhere>
Wed, 8 Apr 2020 18:38:20 +0000 (20:38 +0200)
client/src/views/Game.vue

index 8667e9b..6d506c5 100644 (file)
@@ -1211,6 +1211,9 @@ export default {
         this.$nextTick(() => {
           // Disable tooltips on smartphones:
           document.querySelectorAll("#aboveBoard .tooltip").forEach(elt => {
+
+alert(elt);
+
             elt.classList.remove("tooltip");
           });
         });