projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Crazyhouse: back to previous design; style to be improved
[vchess.git]
/
public
/
javascripts
/
components
/
game.js
diff --git
a/public/javascripts/components/game.js
b/public/javascripts/components/game.js
index
ac03c8f
..
4c369e4
100644
(file)
--- a/
public/javascripts/components/game.js
+++ b/
public/javascripts/components/game.js
@@
-443,7
+443,7
@@
Vue.component('my-game', {
{
myReservePiecesArray.push(h('div',
{
{
myReservePiecesArray.push(h('div',
{
- 'class': {'board':true, ['board'+sizeY
+'-reserve'
]:true},
+ 'class': {'board':true, ['board'+sizeY]:true},
attrs: { id: this.getSquareId({x:sizeX+shiftIdx,y:i}) }
},
[
attrs: { id: this.getSquareId({x:sizeX+shiftIdx,y:i}) }
},
[
@@
-467,7
+467,7
@@
Vue.component('my-game', {
{
oppReservePiecesArray.push(h('div',
{
{
oppReservePiecesArray.push(h('div',
{
- 'class': {'board':true, ['board'+sizeY
+'-reserve'
]:true},
+ 'class': {'board':true, ['board'+sizeY]:true},
attrs: { id: this.getSquareId({x:sizeX+(1-shiftIdx),y:i}) }
},
[
attrs: { id: this.getSquareId({x:sizeX+(1-shiftIdx),y:i}) }
},
[