From: Benjamin Auder Date: Wed, 8 Apr 2020 18:38:20 +0000 (+0200) Subject: Fix tooltips removal on smartphone X-Git-Url: https://git.auder.net/game/current/%7B%7B%20asset%28%27mixstore/doc/html/up.jpg?a=commitdiff_plain;h=13d00ef164983c0e0a42b739a13bdc9eb3f1d21e;p=vchess.git Fix tooltips removal on smartphone --- 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"); }); });