X-Git-Url: https://git.auder.net/?a=blobdiff_plain;ds=sidebyside;f=client%2Fsrc%2Fviews%2FGame.vue;h=009dbb4765f43826b16a215d811605a726bb6b78;hb=abb5917eabac5f6da6841c35567c706066409e44;hp=e909f70e601ccb3c05ba5507ed00547937dcf8ea;hpb=b265313e42e5aa48fe86b2a1c66241bde4deb4fb;p=vchess.git diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index e909f70e..009dbb47 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -221,8 +221,8 @@ export default { .addEventListener("click", processModalClick); if ("ontouchstart" in window) { // Disable tooltips on smartphones: - document.getElementsByClassName("tooltip").forEach(elt => { - elt.classList.remove("tooltip"); + document.querySelectorAll("#aboveBoard .tooltip").forEach(elt => { + elt.classList.remove("tooltip") }); } },