minor changes

This commit is contained in:
coderaiser 2012-07-30 06:59:58 -04:00
parent 057c320754
commit 22a0c75be7

View file

@ -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(){