From 2ba31496bc4a5fd7992fb8dd4623f077e3895f4a Mon Sep 17 00:00:00 2001 From: libccy Date: Wed, 25 Nov 2015 23:59:24 +0800 Subject: [PATCH] m --- game/game.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/game.js b/game/game.js index cb2011ea2..fac9b321b 100755 --- a/game/game.js +++ b/game/game.js @@ -6156,7 +6156,7 @@ var dx=this.offsetLeft+this.offsetWidth/2-52-node.offsetLeft; var dy=this.offsetTop+this.offsetHeight/2-52-node.offsetTop; var num3; - if(lib.config.low_performance&&typeof num=='number'&&init!==false){ + if(typeof num=='number'&&init!==false){ config={ total:num, current:1 @@ -18066,7 +18066,7 @@ return aa+bb+cc+dd; } window.onkeydown=function(e){ - if(!ui.menuContainer.classList.contains('hidden')) return; + if(!ui.menuContainer||!ui.menuContainer.classList.contains('hidden')) return; if(ui.currentpopped){ if(ui.currentpopped._uiintro){ ui.currentpopped._uiintro.delete();