diff --git a/lib/client/editor.js b/lib/client/editor.js index 9070941a..383f3777 100644 --- a/lib/client/editor.js +++ b/lib/client/editor.js @@ -15,9 +15,10 @@ CloudCommander.Editor.CodeMirror = { var lFM = document.getElementById('fm'); if(lFM){ - lFM.appendChild(lEditor); - this.show(); + lFM.appendChild(lEditor); }else console.log('Error. Something went wrong FM not found'); + + pParent.show(); } }; };