From 0715a2db940494074996f0aefe9c485cd8dc5cf1 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 30 Jul 2012 06:22:55 -0400 Subject: [PATCH] minor changes --- lib/client/editor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/client/editor.js b/lib/client/editor.js index 4031a68a..70a60e58 100644 --- a/lib/client/editor.js +++ b/lib/client/editor.js @@ -102,7 +102,8 @@ CloudCommander.Editor.CodeMirror = { var lCodeMirror = pParent.getByClass('CodeMirror'); if(lCodeMirror.length) - lLeft.removeChild(lCodeMirror[0]); + lLeft.parentElement + .removeChild(lCodeMirror[0]); }; }), getById : function(pId){return document.getElementById(pId);},