minor changes

This commit is contained in:
coderaiser 2012-11-06 10:27:33 -05:00
parent b2614d99fe
commit 83af3e2fb4

View file

@ -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