mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
minor changes
This commit is contained in:
parent
cbe1c8493e
commit
5e1cd819fb
1 changed files with 8 additions and 1 deletions
|
|
@ -41,7 +41,11 @@ var CloudClient={
|
|||
/* название css-класа текущего файла*/
|
||||
CURRENT_FILE :'current-file',
|
||||
LIBDIR :'/lib/',
|
||||
LIBDIRCLIENT :'/lib/client/'
|
||||
LIBDIRCLIENT :'/lib/client/',
|
||||
/* height of Cloud Commander
|
||||
* seting up in init()
|
||||
*/
|
||||
HEIGHT :0
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
@ -235,6 +239,7 @@ CloudClient._setCurrent=(function(){
|
|||
/* устанавливаем курсор на файл,
|
||||
* на который нажали */
|
||||
this.className=CloudClient.CURRENT_FILE;
|
||||
console.log(this.offset);
|
||||
}
|
||||
}
|
||||
/* если мы попали сюда с энтера*/
|
||||
|
|
@ -391,6 +396,8 @@ CloudClient.init=(function()
|
|||
var lHeight=window.screen.height - (window.screen.height/3).toFixed();
|
||||
lHeight=(lHeight/100).toFixed()*100;
|
||||
|
||||
CloudClient.HEIGHT = lHeight;
|
||||
|
||||
CloudClient.cssSet({id:'show_2panels',
|
||||
element:document.head,
|
||||
inner:'#left{width:46%;}' +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue