From e4783deb9713fb2222739a5b7d849e88c11fb897 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Sun, 15 Jun 2014 14:42:59 -0400 Subject: [PATCH] fix(menu) show: add Images.hide --- lib/client/menu.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/client/menu.js b/lib/client/menu.js index 6b841ffc..c66fc03f 100644 --- a/lib/client/menu.js +++ b/lib/client/menu.js @@ -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