mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-25 08:54:10 +00:00
minor changes
This commit is contained in:
parent
999962f5ee
commit
f5bfccfc43
2 changed files with 62 additions and 62 deletions
|
|
@ -194,18 +194,24 @@ var CloudCommander, CloudFunc, CodeMirror;
|
|||
var lShow = Util.bind(lThis.show, lThis);
|
||||
|
||||
if(!pEvent.shiftKey){
|
||||
if(pEvent.keyCode === lF4)
|
||||
lShow();
|
||||
else if(pEvent.keyCode === lF3){
|
||||
lShow(true);
|
||||
}
|
||||
switch(pEvent.keyCode)
|
||||
{
|
||||
case lF4:
|
||||
ReadOnly = false;
|
||||
lShow();
|
||||
break;
|
||||
case lF3:
|
||||
ReadOnly = true;
|
||||
lShow();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/* добавляем обработчик клавишь */
|
||||
if (document.addEventListener)
|
||||
document.addEventListener('keydown', key_event,false);
|
||||
document.addEventListener('keydown', key_event, false);
|
||||
|
||||
else{
|
||||
var lFunc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue