From 2916fbc666bfb6649c7d67cf39f07cca1a6a1360 Mon Sep 17 00:00:00 2001 From: libccy Date: Sat, 22 Apr 2017 12:25:34 +0800 Subject: [PATCH] a --- game/game.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/game/game.js b/game/game.js index 7959b4456..4ac8bb166 100644 --- a/game/game.js +++ b/game/game.js @@ -35664,6 +35664,7 @@ var button=this; var layer=ui.create.div('.poplayer',ui.window); var uiintro=ui.create.dialog('hidden','notouchscroll'); + this.classList.add('active'); if(lib.config.touchscreen){ lib.setScroll(uiintro.contentContainer); } @@ -35672,6 +35673,7 @@ this.clicked=false; return; } + button.classList.remove('active'); uiintro.delete(); this.delete(); }); @@ -35861,6 +35863,7 @@ var button=this; var layer=ui.create.div('.poplayer',ui.window); var uiintro=ui.create.dialog('hidden','notouchscroll'); + this.classList.add('active'); if(lib.config.touchscreen){ lib.setScroll(uiintro.contentContainer); } @@ -35869,6 +35872,7 @@ this.clicked=false; return; } + button.classList.remove('active'); uiintro.delete(); this.delete(); });