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:
b99fd47
)
Added fix for undefined property in animation, in IE (Bug #1518)
author
John Resig
<jeresig@gmail.com>
Wed, 22 Aug 2007 04:52:53 +0000
(
04:52
+0000)
committer
John Resig
<jeresig@gmail.com>
Wed, 22 Aug 2007 04:52:53 +0000
(
04:52
+0000)
src/fx/fx.js
patch
|
blob
|
history
diff --git
a/src/fx/fx.js
b/src/fx/fx.js
index
9f767a9
..
ca861b6
100644
(file)
--- a/
src/fx/fx.js
+++ b/
src/fx/fx.js
@@
-336,7
+336,7
@@
jQuery.fn.extend({
jQuery.each( prop, function(name, val){
var e = new jQuery.fx( self, opt, name );
if ( val.constructor == Number )
- e.custom( e.cur(), val );
+ e.custom( e.cur() || 0, val );
else
e[ val == "toggle" ? hidden ? "show" : "hide" : val ]( prop );
});