X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=public%2Fjavascripts%2Fcomponents%2Fgame.js;h=aaef522ba40375ed3524200c446fe06152e85902;hb=8a196305a09269888497995373658f953b9b5bf8;hp=fcae2f11571facd13ad90f55965209f1eeb9d2a0;hpb=c94bc81252c82c9caf7570b4c8c7f139e124ff85;p=vchess.git diff --git a/public/javascripts/components/game.js b/public/javascripts/components/game.js index fcae2f11..aaef522b 100644 --- a/public/javascripts/components/game.js +++ b/public/javascripts/components/game.js @@ -129,7 +129,7 @@ Vue.component('my-game', { { 'class': { 'board': true, - ['board'+sizeX]: true, + ['board'+sizeY]: true, }, style: { 'width': (100/this.choices.length) + "%", @@ -207,7 +207,7 @@ Vue.component('my-game', { { 'class': { 'board': true, - ['board'+sizeX]: true, + ['board'+sizeY]: true, 'light-square': (i+j)%2==0 && (this.expert || !highlight), 'dark-square': (i+j)%2==1 && (this.expert || !highlight), 'highlight': !this.expert && highlight,