This commit is contained in:
libccy 2017-03-29 15:22:24 +08:00
parent 69de46f058
commit b737c25da2
1 changed files with 2 additions and 2 deletions

View File

@ -19841,7 +19841,7 @@
game.chooseCharacterOL();
},
closeMenu:function(){
if(!ui.menuContainer.classList.contains('hidden')){
if(ui.menuContainer&&!ui.menuContainer.classList.contains('hidden')){
ui.click.configMenu();
}
},
@ -36206,7 +36206,7 @@
if(!ui.shortcut.classList.contains('hidden')){
ui.click.shortcut(false);
}
if(get.is.phoneLayout()&&ui.menuContainer.classList.contains('hidden')){
if(get.is.phoneLayout()&&ui.menuContainer&&ui.menuContainer.classList.contains('hidden')){
if(ui.system2.classList.contains('shown')){
_status.removinground=true;
setTimeout(function(){