jquery core: don't let .attr() set style for xml.
This commit is contained in:
parent
e9b2781d30
commit
70b5e670ca
|
@ -1071,7 +1071,7 @@ jQuery.extend({
|
||||||
return elem[ name ];
|
return elem[ name ];
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( msie && name == "style" )
|
if ( msie && notxml && name == "style" )
|
||||||
return jQuery.attr( elem.style, "cssText", value );
|
return jQuery.attr( elem.style, "cssText", value );
|
||||||
|
|
||||||
if ( set )
|
if ( set )
|
||||||
|
|
Loading…
Reference in a new issue