diff --git a/lib/client/keyBinding.js b/lib/client/keyBinding.js index dd11dfb9..69b9c187 100644 --- a/lib/client/keyBinding.js +++ b/lib/client/keyBinding.js @@ -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(); } /* навигация по таблице файлов*/ /* если нажали клавишу вверх*/