X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=public%2Fjavascripts%2Fcomponents%2FmoveList.js;h=ded7d86d9dbf10b6148e38e2b60b2abd9f527154;hb=d337a94cd6d38bb743a8935017d03fe21d4ad324;hp=b3c4255fa2407bb4b043628196436f05b245c4b6;hpb=582df3497b0f91dd4b645386a059eac9e98da1bb;p=vchess.git diff --git a/public/javascripts/components/moveList.js b/public/javascripts/components/moveList.js index b3c4255f..ded7d86d 100644 --- a/public/javascripts/components/moveList.js +++ b/public/javascripts/components/moveList.js @@ -57,7 +57,7 @@ Vue.component('my-move-list', { { domProps: { innerHTML: curCellContent }, on: { click: () => this.gotoMove(i) }, - "class": { "highlight-lm": this.cursor-1 == i }, + "class": { "highlight-lm": this.cursor == i }, } ) );