From 22a0c75be71fa802a492b7a3f49d3baec56d4e8c Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 30 Jul 2012 06:59:58 -0400 Subject: [PATCH] minor changes --- lib/client/editor.js | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) 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(){