X-Git-Url: https://git.auder.net/pieces/Checkered/cq.svg?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FMoveList.vue;h=30ed2338f01c520e37b8269f24a46cd3b25c2d0b;hb=8a0f881d7d2729cb421c6c1efcf51e6820ef005d;hp=ca538924290b548d9c88b3dab55f51e1de252724;hpb=96e9585a39ca3ccef59c701b3f7ac3809692ca73;p=vchess.git diff --git a/client/src/components/MoveList.vue b/client/src/components/MoveList.vue index ca538924..30ed2338 100644 --- a/client/src/components/MoveList.vue +++ b/client/src/components/MoveList.vue @@ -1,9 +1,136 @@ + + + + + error + newValue = 0; //avoid rows[-1] => error // $nextTick to wait for table > tr to be rendered this.$nextTick( () => { let rows = document.querySelectorAll('#movesList tr'); @@ -52,10 +181,4 @@ export default { }, }; - - +-->