fix(menu) show: add Images.hide

This commit is contained in:
coderaiser 2014-06-15 14:42:59 -04:00
parent 5bfaa0f74c
commit e4783deb97

View file

@ -40,11 +40,13 @@ var CloudCmd, Util, DOM, CloudFunc, MenuIO;
y = position.y;
}
showFunc = Util.exec.with(show, x, y);
showFunc = function() {
show(x, y);
Images.hide();
};
Util.exec.if(MenuIO, showFunc, function() {
DOM.loadMenu(function(error) {
if (error)
DOM.Dialog.alert(error);
else