From 751b4d62ec22fe3e7f8f83003c04cdb04e8d7599 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 24 Jul 2012 10:39:25 -0400 Subject: [PATCH] minor changes --- client.js | 1 - lib/client/keyBinding.js | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client.js b/client.js index ac9403d3..39b90703 100644 --- a/client.js +++ b/client.js @@ -239,7 +239,6 @@ CloudClient._setCurrent=(function(){ /* устанавливаем курсор на файл, * на который нажали */ this.className=CloudClient.CURRENT_FILE; - console.log(this.offset); } } /* если мы попали сюда с энтера*/ diff --git a/lib/client/keyBinding.js b/lib/client/keyBinding.js index 5a6af97b..f035255f 100644 --- a/lib/client/keyBinding.js +++ b/lib/client/keyBinding.js @@ -52,7 +52,8 @@ CloudCommander.keyBinding=(function(){ /* убираем с него выделение */ lCurrentFile.className=''; /* выделяем следующую строку*/ - lCurrentFile.nextSibling.className=CloudCommander.CURRENT_FILE; + lCurrentFile.nextSibling.className = CloudCommander.CURRENT_FILE; + console.log(lCurrentFile.nextSibling.offset); event.preventDefault(); } }