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 a new issue