mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
Update lib/client/keyBinding.js
This commit is contained in:
parent
4d8348e663
commit
8d60348975
1 changed files with 7 additions and 6 deletions
|
|
@ -38,16 +38,17 @@ CloudCommander.keyBinding=(function(){
|
|||
var lId = lCurrentFile.parentElement.id;
|
||||
|
||||
lTabPanel[lId] = lCurrentFile;
|
||||
if (lTabPanel[lId])
|
||||
lTabPanel[lId].className = lCurrentFile;
|
||||
else
|
||||
getById(lId).getElementsByTagName('li')[2]
|
||||
.className = lCURRENT_FILE;
|
||||
|
||||
|
||||
lId === 'right' &&
|
||||
(lId = 'left') ||
|
||||
(lId = 'right');
|
||||
|
||||
|
||||
lTabPanel[lId] &&
|
||||
(lTabPanel[lId].className = lCurrentFile) ||
|
||||
(getById(lId).getElementsByTagName('li')[2]
|
||||
.className = lCURRENT_FILE);
|
||||
|
||||
lCurrentFile.className = '';
|
||||
|
||||
}catch(error){console.log(error);}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue