mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
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 ];
|
||||
}
|
||||
|
||||
if ( msie && name == "style" )
|
||||
if ( msie && notxml && name == "style" )
|
||||
return jQuery.attr( elem.style, "cssText", value );
|
||||
|
||||
if ( set )
|
||||
|
Loading…
Reference in New Issue
Block a user