mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
minor changes
This commit is contained in:
parent
de470373ad
commit
2acfd39646
1 changed files with 5 additions and 2 deletions
|
|
@ -69,8 +69,7 @@ CloudCommander.Editor.CodeMirror = {
|
|||
|
||||
lLeft &&
|
||||
(lLeft.className = 'panel hidden');
|
||||
|
||||
|
||||
|
||||
CodeMirror(lCloudEditor,{
|
||||
mode : "xml",
|
||||
htmlMode : true,
|
||||
|
|
@ -100,6 +99,10 @@ CloudCommander.Editor.CodeMirror = {
|
|||
|
||||
lLeft &&
|
||||
(lLeft.className = 'panel');
|
||||
|
||||
var lCodeMirror = pParent.getByClassName('CodeMirror');
|
||||
if(lCodeMirror.length)
|
||||
document.body.removeChild([0]);
|
||||
};
|
||||
}),
|
||||
getById: function(pId){return document.getElementById(pId);},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue