diff options
author | John Resig <jeresig@gmail.com> | 2007-08-22 04:52:53 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2007-08-22 04:52:53 +0000 |
commit | e06b7447c2e8887549338b3b5f4fa9ed65fe9dcd (patch) | |
tree | c4615e3af54d3946cbe19ef88c3946dfdfbbc368 | |
parent | b99fd476d07e737274c132a8e938cda73cf26377 (diff) | |
download | jquery-e06b7447c2e8887549338b3b5f4fa9ed65fe9dcd.tar.gz jquery-e06b7447c2e8887549338b3b5f4fa9ed65fe9dcd.zip |
Added fix for undefined property in animation, in IE (Bug #1518)
-rw-r--r-- | src/fx/fx.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fx/fx.js b/src/fx/fx.js index 9f767a9f4..ca861b6bd 100644 --- 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 ); }); |