diff --git a/lib/client/console.js b/lib/client/console.js index f9aad89e..bc9525d7 100644 --- a/lib/client/console.js +++ b/lib/client/console.js @@ -88,16 +88,14 @@ var CloudCmd, Util, DOM, $; lIsBind = Key.isBind(), lKey = pEvent.keyCode; - /* если клавиши можно обрабатывать */ - if (lIsBind) - switch(lKey){ - case lF10: - Console.show(); - break; - case lESC: - Console.hide(); - break; - } + switch(lKey){ + case lF10: + Console.show(); + break; + case lESC: + Console.hide(); + break; + } } }