Commit e06b7447 authored by John Resig's avatar John Resig

Added fix for undefined property in animation, in IE (Bug #1518)

parent b99fd476
......@@ -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 );
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment