From c2863a46ad3ef91051c3c0f1a9fdae7414ed26af Mon Sep 17 00:00:00 2001 From: libccy Date: Wed, 15 Feb 2017 14:50:54 +0800 Subject: [PATCH] p --- game/game.js | 2 +- mode/chess.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/game/game.js b/game/game.js index 7f4ea6af3..2ef38a81c 100644 --- a/game/game.js +++ b/game/game.js @@ -31465,7 +31465,7 @@ } for(var i in list){ 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]; node.dataset.color=i; ui.refresh(node); diff --git a/mode/chess.js b/mode/chess.js index e17e9658f..32e64b1ae 100644 --- a/mode/chess.js +++ b/mode/chess.js @@ -573,6 +573,7 @@ mode.chess={ grid.listen(move); } else if(move){ + grid.classList.add('pointerdiv'); grid.listen(ui.click.playergrid); ui.movegrids.push(grid); }