mirror of
https://github.com/jquery/jquery.git
synced 2026-02-19 09:24:23 -05:00
jquery core: don't let .attr() set style for xml.
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user