From df81ef3f22b0516c32be161782c8a46361d69049 Mon Sep 17 00:00:00 2001 From: libccy Date: Sat, 9 Apr 2016 10:55:50 +0800 Subject: [PATCH] scroll --- game/game.js | 49 +++++++++++++++++------------------------ game/update.js | 2 +- layout/phone/layout.css | 2 +- 3 files changed, 22 insertions(+), 31 deletions(-) diff --git a/game/game.js b/game/game.js index e3b7d56f4..2b70062b2 100755 --- a/game/game.js +++ b/game/game.js @@ -12098,6 +12098,15 @@ var game={ online:false, onlineID:null, + closePopped:function(){ + if(ui.currentpopped){ + if(ui.currentpopped._uiintro){ + ui.currentpopped._uiintro.delete(); + delete ui.currentpopped._uiintro; + } + delete ui.currentpopped; + } + }, broadcast:function(){ if(!lib.node||!lib.node.clients||game.online) return; for(var i=0;i