This commit is contained in:
parent
468a974c7b
commit
c2863a46ad
|
@ -31465,7 +31465,7 @@
|
||||||
}
|
}
|
||||||
for(var i in list){
|
for(var i in list){
|
||||||
if(this.firstChild.innerHTML!=list[i]){
|
if(this.firstChild.innerHTML!=list[i]){
|
||||||
var node=ui.create.div('.identity.hidden',this.parentNode,ui.click.identity2);
|
var node=ui.create.div('.identity.hidden.pointerdiv',this.parentNode,ui.click.identity2);
|
||||||
ui.create.div(node).innerHTML=list[i];
|
ui.create.div(node).innerHTML=list[i];
|
||||||
node.dataset.color=i;
|
node.dataset.color=i;
|
||||||
ui.refresh(node);
|
ui.refresh(node);
|
||||||
|
|
|
@ -573,6 +573,7 @@ mode.chess={
|
||||||
grid.listen(move);
|
grid.listen(move);
|
||||||
}
|
}
|
||||||
else if(move){
|
else if(move){
|
||||||
|
grid.classList.add('pointerdiv');
|
||||||
grid.listen(ui.click.playergrid);
|
grid.listen(ui.click.playergrid);
|
||||||
ui.movegrids.push(grid);
|
ui.movegrids.push(grid);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue