Update lib/client/keyBinding.js

This commit is contained in:
coderaiser 2012-08-14 14:15:52 +03:00
parent 58c8f87941
commit 49d3ce64c6

View file

@ -110,7 +110,8 @@ CloudCommander.keyBinding = (function(){
}
else if(event.keyCode === CloudCommander.KEY.F10 &&
event.shiftKey){
CloudCommander.Menu();
if (typeof CloudCommander.Menu === 'function')
CloudCommander.Menu();
event.preventDefault();//запрет на дальнейшее действие
}