mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 01:17:18 +00:00
from now CodeMirror js files loads, when f4 key pressd
This commit is contained in:
parent
b1ee070dcd
commit
4ef45e73fe
1 changed files with 8 additions and 3 deletions
|
|
@ -54,10 +54,15 @@ CloudCommander.keyBinding=(function(){
|
|||
}catch(error){console.log(error);}
|
||||
}
|
||||
/* if f3 pressed */
|
||||
else if(event.keyCode===114){
|
||||
if (typeof CloudCommander.Viewer === 'function'){
|
||||
else if(event.keyCode===114){
|
||||
if (typeof CloudCommander.Viewer === 'function')
|
||||
CloudCommander.Viewer();
|
||||
}
|
||||
}
|
||||
|
||||
/* if f4 pressed */
|
||||
else if(event.keyCode === 115) {
|
||||
if (typeof CloudCommander.Editor === 'function')
|
||||
CloudCommander.Editor();
|
||||
}
|
||||
/* навигация по таблице файлов*/
|
||||
/* если нажали клавишу вверх*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue