diff --git a/lib/client/editor.js b/lib/client/editor.js index 4467d7f2..ef8ca39a 100644 --- a/lib/client/editor.js +++ b/lib/client/editor.js @@ -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(){