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
b2614d99fe
commit
83af3e2fb4
1 changed files with 5 additions and 3 deletions
|
|
@ -434,9 +434,11 @@ CloudClient.Util = (function(){
|
|||
* using href in any other case
|
||||
* using src
|
||||
*/
|
||||
lName === 'link' ?
|
||||
((element.href = lSrc) && (element.rel = 'stylesheet'))
|
||||
: element.src = lSrc;
|
||||
if(lName === 'link'){
|
||||
element.href = lSrc;
|
||||
element.rel = 'stylesheet';
|
||||
}else
|
||||
element.src = lSrc;
|
||||
|
||||
/*
|
||||
* if passed arguments function
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue