mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
fix(menu) if ESC current file is one mouse pointer on it
This commit is contained in:
parent
5cc575d284
commit
e65e169381
1 changed files with 6 additions and 1 deletions
|
|
@ -210,7 +210,12 @@ var CloudCmd, Util, DOM, CloudFunc, $;
|
|||
// define the elements of the menu
|
||||
items : getAllItems(lMenuItems),
|
||||
events :{
|
||||
hide: clickProcessing
|
||||
hide: function() {
|
||||
var event = window.event;
|
||||
|
||||
if (!event || !event.keyCode)
|
||||
clickProcessing();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue