mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
Update client.js
This commit is contained in:
parent
628e57143f
commit
b8068d0567
1 changed files with 5 additions and 5 deletions
10
client.js
10
client.js
|
|
@ -223,15 +223,15 @@ CloudClient.Util = (function(){
|
|||
if(pParams_o.style){
|
||||
element.style.cssText=pParams_o.style;
|
||||
}
|
||||
|
||||
if(lAsync || lAsync === undefined)
|
||||
element.async = true;
|
||||
|
||||
(pParams_o.parent || document.body).appendChild(element);
|
||||
|
||||
if(pParams_o.inner){
|
||||
element.innerHTML = pParams_o.inner;
|
||||
}
|
||||
|
||||
if(lAsync || lAsync === undefined)
|
||||
element.async = true;
|
||||
|
||||
(pParams_o.parent || document.body).appendChild(element);
|
||||
}
|
||||
/* если js-файл уже загружен
|
||||
* запускаем функцию onload
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue