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:
8365b37
)
Fix for 193
author
Brandon Aaron
<brandon.aaron@gmail.com>
Wed, 11 Oct 2006 04:23:04 +0000
(
04:23
+0000)
committer
Brandon Aaron
<brandon.aaron@gmail.com>
Wed, 11 Oct 2006 04:23:04 +0000
(
04:23
+0000)
src/jquery/jquery.js
patch
|
blob
|
history
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
a4ba11f
..
d8d2564
100644
(file)
--- a/
src/jquery/jquery.js
+++ b/
src/jquery/jquery.js
@@
-1461,6
+1461,9
@@
jQuery.extend({
if (prop == 'opacity' && jQuery.browser.msie)
return jQuery.attr(elem.style, 'opacity');
+
+ if (prop == "float" || prop == "cssFloat")
+ prop = jQuery.browser.msie ? "styleFloat" : "cssFloat";
if (!force && elem.style[prop]) {
@@
-1824,7
+1827,8
@@
jQuery.extend({
var fix = {
"for": "htmlFor",
"class": "className",
- "float": "cssFloat",
+ "float": jQuery.browser.msie ? "styleFloat" : "cssFloat",
+ cssFloat: fix["float"],
innerHTML: "innerHTML",
className: "className",
value: "value",