mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 10:09:04 +00:00
minor changes
This commit is contained in:
parent
37357da033
commit
e1f102be7f
1 changed files with 6 additions and 2 deletions
|
|
@ -105,9 +105,13 @@ CloudCommander.Editor.CodeMirror = {
|
|||
document.body.removeChild([0]);
|
||||
};
|
||||
}),
|
||||
getById: function(pId){return document.getElementById(pId);},
|
||||
getById : function(pId){return document.getElementById(pId);},
|
||||
|
||||
getPanel: function(){
|
||||
getByClass : function(pClass){
|
||||
return document.getElementsByClassName(pClass);
|
||||
},
|
||||
|
||||
getPanel : function(){
|
||||
var lCurrent = document.getElementsByClassName('current-file');
|
||||
lCurrent.length &&
|
||||
(lCurrent = lCurrent[0].parentElement);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue