From c0c8dfdf515bf9ab732bbf8a057b6dfd9040bc28 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 30 Jul 2012 06:20:20 -0400 Subject: [PATCH] minor changes --- lib/client/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client/editor.js b/lib/client/editor.js index 5b84651b..fbacb6b5 100644 --- a/lib/client/editor.js +++ b/lib/client/editor.js @@ -102,7 +102,7 @@ CloudCommander.Editor.CodeMirror = { var lCodeMirror = pParent.getByClass('CodeMirror'); if(lCodeMirror.length) - document.body.removeChild([0]); + document.body.removeChild(lCodeMirror[0]); }; }), getById : function(pId){return document.getElementById(pId);},