X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FHall.vue;h=4e1e54b8b53f047ca94c641a9176d177f938ef31;hb=56c40600596cc772f86034808ddcb2cbaab35570;hp=5b537d8555cb57a42aedbfb0d54aa82641c9b0b5;hpb=13227d6124e1cf465d329373e32c407d6fd351d3;p=vchess.git diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index 5b537d85..4e1e54b8 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -128,7 +128,8 @@ main ) | {{ st.tr["Observe"] }} button.player-action( - v-else-if="isFocusedOnHall(sid)" + v-else-if="st.user.sid != sid" + :class="{focused: isFocusedOnHall(sid)}" @click="challenge(sid)" ) | {{ st.tr["Challenge"] }} @@ -1415,6 +1416,8 @@ div#peopleWrap > .card button.player-action margin-left: 32px + &.focused + background-color: #E6D271 .somethingnew background-color: #90C4EC !important