From ba73f7360def2e9517bc5df574d24ee8eb6e17e2 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 24 Jul 2012 10:42:37 -0400 Subject: [PATCH] minor changes --- lib/client/keyBinding.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/client/keyBinding.js b/lib/client/keyBinding.js index cf56f1d7..abb30507 100644 --- a/lib/client/keyBinding.js +++ b/lib/client/keyBinding.js @@ -36,7 +36,8 @@ CloudCommander.keyBinding=(function(){ /* убираем выделение с текущего элемента */ lCurrentFile.className=''; /* и выделяем предыдущую строку*/ - lCurrentFile.previousSibling.className=CloudCommander.CURRENT_FILE; + lCurrentFile.previousSibling.className = CloudCommander.CURRENT_FILE; + console.log(lCurrentFile.nextSibling.offsetTop); event.preventDefault(); } }