mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
refactor(config) key
This commit is contained in:
parent
8ad5d09e01
commit
e0d8345760
1 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,6 @@ var CloudCmd, Util, DOM;
|
|||
var Key = CloudCmd.Key,
|
||||
Images = DOM.Images,
|
||||
Events = DOM.Events,
|
||||
ESC = CloudCmd.Key.ESC,
|
||||
INPUT = 'INPUT',
|
||||
CONFIG,
|
||||
TEMPLATE,
|
||||
|
|
@ -143,7 +142,8 @@ var CloudCmd, Util, DOM;
|
|||
}
|
||||
|
||||
function key(event) {
|
||||
var keyCode = event.keyCode;
|
||||
var keyCode = event.keyCode,
|
||||
ESC = Key.ESC;
|
||||
|
||||
if (keyCode === ESC)
|
||||
Config.hide();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue