minor changes

This commit is contained in:
coderaiser 2012-07-27 04:26:47 -04:00
parent 4609f4f087
commit f7d77430db

View file

@ -657,7 +657,9 @@ CloudClient._anyload = function(pParams_o)
if(lFunc.onerror &&
typeof lFunc.onerror === 'function')
element.onerror = (function(){
document.removeChild(element);
(pParams_o.element || document.body)
.removeChild(element);
lFunc.onerror();
});
}