From 13d00ef164983c0e0a42b739a13bdc9eb3f1d21e Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Wed, 8 Apr 2020 20:38:20 +0200 Subject: [PATCH] Fix tooltips removal on smartphone --- client/src/views/Game.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index 8667e9b7..6d506c5f 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -1211,6 +1211,9 @@ export default { this.$nextTick(() => { // Disable tooltips on smartphones: document.querySelectorAll("#aboveBoard .tooltip").forEach(elt => { + +alert(elt); + elt.classList.remove("tooltip"); }); }); -- 2.44.0