diff --git a/lib/client/editor.js b/lib/client/editor.js index a7e2f97b..eb655e8f 100644 --- a/lib/client/editor.js +++ b/lib/client/editor.js @@ -141,7 +141,7 @@ CloudCommander.Editor.CodeMirror.show = (function(){ * if it not showed */ var lCurrent = lCurrent.firstChild.nextSibling; if(lCurrent !== lLoadingImage.parentElement) - appendChild(lLoadingImage); + document.appendChild(lLoadingImage); this.loading = true; var lParent = this;