Update client.js

This commit is contained in:
coderaiser 2012-08-03 17:06:51 +03:00
parent cd149589f7
commit 037ffa55cb

View file

@ -326,7 +326,8 @@ CloudClient.Util = (function(){
/* show loading icon *
* if it not showed */
var lCurrent = lCurrent.firstChild.nextSibling;
if(lCurrent !== lLoadingImage.parentElement)
var lParent = lLoadingImage.parentElement;
if(lParent && lParent !== lCurrent)
document.appendChild(lLoadingImage);
}
}