mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Added fix for undefined property in animation, in IE (Bug #1518)
This commit is contained in:
parent
b99fd476d0
commit
e06b7447c2
@ -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 );
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user