X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FMoveList.vue;h=e360cb0d45f5624ff6b936ced7772e93581a93aa;hb=cfc1cf0d2dde4d7f69f107d8c7ec30c815812da0;hp=2fc7bacbf1f8618ecb500cb9190ba32ee45b12b7;hpb=90df90bca1a993930a0e1a07a1b4990dd538c6e2;p=vchess.git diff --git a/client/src/components/MoveList.vue b/client/src/components/MoveList.vue index 2fc7bacb..e360cb0d 100644 --- a/client/src/components/MoveList.vue +++ b/client/src/components/MoveList.vue @@ -19,7 +19,8 @@ div // NOTE: variants pages already have a "Rules" link on top span#rulesBtn( v-if="!$route.path.match('/variants/')" - @click="$emit('showrules')" + @click="clickRulesBtn()" + :class="btnRulesClass" ) | {{ st.tr["Rules"] }} button( @@ -52,14 +53,12 @@ div .td( :class="{'highlight-lm': cursor == moveIdx}" @click="() => gotoMove(moveIdx)" - ) - | {{ notation(moveIdx) }} + v-html="notation(moveIdx)") .td( v-if="moveIdx < moves.length-1" :class="{'highlight-lm': cursor == moveIdx+1}" @click="() => gotoMove(moveIdx+1)" - ) - | {{ notation(moveIdx + 1) }} + v-html="notation(moveIdx + 1)")