mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
minor changes
This commit is contained in:
parent
4609f4f087
commit
f7d77430db
1 changed files with 3 additions and 1 deletions
|
|
@ -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();
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue