minor changes

This commit is contained in:
coderaiser 2012-08-13 09:47:24 -04:00
parent 0a05848b99
commit fa7addbebd
2 changed files with 2 additions and 1 deletions

View file

@ -10,6 +10,7 @@
<link rel=stylesheet href=/css/style.css>
<!--[if lt IE 9]>
<script src="//ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
<script src="//code.jquery.com/jquery-1.8.0.min.js" id=jquery-1_8_0_min_js ></script>
<![endif]-->

View file

@ -345,7 +345,7 @@ CloudCommander.keyBinding = (function(){
/* добавляем обработчик клавишь */
if(document.addEventListener)
document.addEventListener('keydown', key_event,false);
else document.onkeypress = key_event;
else document.onkeydown = key_event;
/* клавиши назначены*/
CloudCommander.keyBinded=true;
});