Skip to content
Permalink
Browse files

jquery core: don't let .attr() set style for xml.

  • Loading branch information
flesler committed May 13, 2008
1 parent e9b2781 commit 70b5e670ca6f0c915232139db8e6766aa2c191d4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core.js
@@ -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 )

0 comments on commit 70b5e67

Please sign in to comment.
You can’t perform that action at this time.