mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
fix(menu) hide on Esc
This commit is contained in:
parent
5654d17332
commit
0d9fb99e2c
1 changed files with 2 additions and 1 deletions
|
|
@ -32,6 +32,7 @@ var CloudCmd, Util, DOM, CloudFunc, MenuIO;
|
|||
|
||||
this.hide = function() {
|
||||
MenuContext.hide();
|
||||
MenuContextFile.hide();
|
||||
};
|
||||
|
||||
this.show = function(x, y ) {
|
||||
|
|
@ -243,7 +244,7 @@ var CloudCmd, Util, DOM, CloudFunc, MenuIO;
|
|||
|
||||
DOM.preventDefault(event);
|
||||
} else if (key === ESC) {
|
||||
MenuContext.hide();
|
||||
Menu.hide();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue