Skip to content
Permalink
Browse files
Added fix for undefined property in animation, in IE (Bug #1518)
  • Loading branch information
jeresig committed Aug 22, 2007
1 parent b99fd47 commit e06b7447c2e8887549338b3b5f4fa9ed65fe9dcd
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 );
});

0 comments on commit e06b744

Please sign in to comment.