Update lib/client/editor.js

This commit is contained in:
coderaiser 2012-08-03 17:08:55 +03:00
parent 23bc43ad98
commit 19f20aff88

View file

@ -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;