mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
minor changes
This commit is contained in:
parent
5f7dd729d9
commit
4effea5aa0
1 changed files with 4 additions and 5 deletions
|
|
@ -83,13 +83,12 @@ CloudCommander.keyBinding = (function(){
|
|||
|
||||
/* if f3 or shift+f3 pressed */
|
||||
else if(event.keyCode === lKEY.F3){
|
||||
if(event.shiftKey){
|
||||
if (typeof CloudCommander.Viewer === 'function')
|
||||
if(event.shiftKey &&
|
||||
typeof CloudCommander.Viewer === 'function')
|
||||
CloudCommander.Viewer();
|
||||
|
||||
else if (typeof CloudCommander.Editor === 'function')
|
||||
CloudCommander.Editor(true);
|
||||
}
|
||||
else if (typeof CloudCommander.Editor === 'function')
|
||||
CloudCommander.Editor(true);
|
||||
|
||||
event.preventDefault();//запрет на дальнейшее действие
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue