fix(menu) if menu could not load keys do not working

This commit is contained in:
coderaiser 2014-02-07 03:19:02 -05:00
parent f85a054ee0
commit c92f612574
2 changed files with 2 additions and 2 deletions

View file

@ -96,8 +96,6 @@ var Util, DOM, CloudCmd;
ret = true,
Key = CloudCmd.Key;
Key && Key.unsetBind();
/* getting html element
* currentTarget - DOM event
* target - jquery event

View file

@ -37,6 +37,8 @@ var CloudCmd, Util, DOM, CloudFunc, $;
}
this.show = function() {
Key.unsetBind();
if (!Loading) {
set();
DOM.Images.hideLoad();