projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Style...
[vchess.git]
/
client
/
src
/
components
/
MoveList.vue
diff --git
a/client/src/components/MoveList.vue
b/client/src/components/MoveList.vue
index
c63f2cd
..
ca53892
100644
(file)
--- a/
client/src/components/MoveList.vue
+++ b/
client/src/components/MoveList.vue
@@
-8,11
+8,11
@@
div
tr(v-for="moveIdx in evenNumbers")
td {{ firstNum + moveIdx / 2 + 1 }}
td(:class="{'highlight-lm': cursor == moveIdx}"
tr(v-for="moveIdx in evenNumbers")
td {{ firstNum + moveIdx / 2 + 1 }}
td(:class="{'highlight-lm': cursor == moveIdx}"
-
data-label="White move"
@click="() => gotoMove(moveIdx)")
+ @click="() => gotoMove(moveIdx)")
| {{ moves[moveIdx].notation }}
td(v-if="moveIdx < moves.length-1"
:class="{'highlight-lm': cursor == moveIdx+1}"
| {{ moves[moveIdx].notation }}
td(v-if="moveIdx < moves.length-1"
:class="{'highlight-lm': cursor == moveIdx+1}"
-
data-label="Black move"
@click="() => gotoMove(moveIdx+1)")
+ @click="() => gotoMove(moveIdx+1)")
| {{ moves[moveIdx+1].notation }}
// Else: just add an empty cell
td(v-else)
| {{ moves[moveIdx+1].notation }}
// Else: just add an empty cell
td(v-else)