Update client.js

This commit is contained in:
coderaiser 2012-08-03 17:58:56 +03:00
parent 84a2639010
commit b5c30c0a92

View file

@ -327,8 +327,9 @@ CloudClient.Util = (function(){
* if it not showed */
var lCurrent = lCurrent.firstChild.nextSibling;
var lParent = lLoadingImage.parentElement;
if(lParent && lParent !== lCurrent)
lCurrent.appendChild(lLoadingImage);
if(!lParent ||
(lParent && lParent !== lCurrent))
lCurrent.appendChild(lLoadingImage);
}
}
});