mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
Update lib/client/keyBinding.js
This commit is contained in:
parent
f86f8fc65c
commit
42cd65553b
1 changed files with 7 additions and 7 deletions
|
|
@ -39,15 +39,15 @@ CloudCommander.keyBinding=(function(){
|
|||
|
||||
lTabPanel[lId] = lCurrentFile;
|
||||
|
||||
lId === 'right' &&
|
||||
(lId = 'left') ||
|
||||
(lId = 'right');
|
||||
lId = (lId === 'right')?
|
||||
'left':'right';
|
||||
|
||||
if(lTabPanel[lId])
|
||||
lTabPanel[lId].className = lCurrentFile;
|
||||
|
||||
lTabPanel[lId] &&
|
||||
(lTabPanel[lId].className = lCurrentFile) ||
|
||||
(getById(lId).getElementsByTagName('li')[2]
|
||||
.className = lCURRENT_FILE);
|
||||
else
|
||||
getById(lId).getElementsByTagName('li')[2]
|
||||
.className = lCURRENT_FILE;
|
||||
|
||||
lCurrentFile.className = '';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue