From: Benjamin Auder Date: Wed, 8 Apr 2020 18:31:28 +0000 (+0200) Subject: Fix tooltips removal on smartphone X-Git-Url: https://git.auder.net/app_dev.php/bundles/doc/html/index.html?a=commitdiff_plain;h=51336cd2180ca1a56eba7f773abe715d0eb5cddb;p=vchess.git Fix tooltips removal on smartphone --- diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index e8b07567..6d5a92ab 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -89,7 +89,7 @@ main aria-label="Chat" ) img(src="/images/icons/chat.svg") - #actions(v-if="game.score=='*'") + #actions(v-show="game.score=='*'") button.tooltip( @click="clickDraw()" :class="{['draw-' + drawOffer]: true}" @@ -109,7 +109,7 @@ main ) img(src="/images/icons/resign.svg") button.tooltip( - v-else + v-show="game.score!='*'" @click="clickRematch()" :class="{['rematch-' + rematchOffer]: true}" :aria-label="st.tr['Rematch']"