git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9b2781
)
jquery core: don't let .attr() set style for xml.
author
Ariel Flesler
<aflesler@gmail.com>
Tue, 13 May 2008 00:42:12 +0000
(
00:42
+0000)
committer
Ariel Flesler
<aflesler@gmail.com>
Tue, 13 May 2008 00:42:12 +0000
(
00:42
+0000)
src/core.js
patch
|
blob
|
history
diff --git
a/src/core.js
b/src/core.js
index
6b2c36a
..
d23d450
100644
(file)
--- a/
src/core.js
+++ b/
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 )