mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
minor changes
This commit is contained in:
parent
057c320754
commit
22a0c75be7
1 changed files with 1 additions and 16 deletions
|
|
@ -82,22 +82,7 @@ CloudCommander.Editor.CodeMirror = {
|
|||
//Сохранение
|
||||
"Esc": this.hide(this)
|
||||
}
|
||||
});
|
||||
/* fixing after first showinng CodeMirror bug */
|
||||
var lCodeMirror = this.getByClass('CodeMirror');
|
||||
if(lCodeMirror.length) {
|
||||
|
||||
var lDiv = lCodeMirror[0].getElementsByTagName('div');
|
||||
if(lDiv.length){
|
||||
lDiv = lDiv[0];
|
||||
|
||||
lDiv.style.cssText +=
|
||||
lDiv.style.cssText +
|
||||
';top:26px;left:57px';
|
||||
}
|
||||
}
|
||||
lCloudEditor &&
|
||||
(lCloudEditor.className = '');
|
||||
});
|
||||
}),
|
||||
hide : (function(pParent) {
|
||||
return function(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue