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=1e19a2bdb77a70b2afd40c9fb97250bd400c1177;hpb=3837d4f7885a3c3cdb468da2f3fa3fa1e5a1415a;p=vchess.git diff --git a/client/src/components/MoveList.vue b/client/src/components/MoveList.vue index 1e19a2bd..30ed2338 100644 --- a/client/src/components/MoveList.vue +++ b/client/src/components/MoveList.vue @@ -1,18 +1,145 @@ + + + + + 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,105 +181,4 @@ export default { }, }; - - - -