From 19f20aff8807d6ede9059cf803a67a7678ed7a55 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 3 Aug 2012 17:08:55 +0300 Subject: [PATCH] Update lib/client/editor.js --- 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 eb655e8f..900c1784 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) - document.appendChild(lLoadingImage); + lCurrent.appendChild(lLoadingImage); this.loading = true; var lParent = this;