mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
Update lib/client/editor.js
This commit is contained in:
parent
ff8033b62f
commit
2fc0c1dcf3
1 changed files with 8 additions and 2 deletions
|
|
@ -86,9 +86,15 @@ CloudCommander.Editor.CodeMirror = {
|
|||
/* fixing after first showinng CodeMirror bug */
|
||||
var lCodeMirror = this.getByClass('CodeMirror');
|
||||
if(lCodeMirror.length) {
|
||||
|
||||
var lDiv = lCodeMirror[0].getElementsByTagName('div');
|
||||
if(lDiv.length)
|
||||
lDiv[0].style.cssText += lDiv.style.cssText + ';top:26px;left:57px';
|
||||
if(lDiv.length){
|
||||
lDiv = lDiv[0];
|
||||
|
||||
lDiv.style.cssText +=
|
||||
lDiv.style.cssText +
|
||||
';top:26px;left:57px';
|
||||
}
|
||||
}
|
||||
lCloudEditor &&
|
||||
(lCloudEditor.className = '');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue