Skip to content
Permalink
Browse files
jquery fx: closes #3496. $.fx.off = true; turns off animations.
  • Loading branch information
flesler committed Oct 22, 2008
1 parent ad54d14 commit 30751dd9f170e53e5feb6b92a64aa50970db69ef
Showing 1 changed file with 1 addition and 1 deletion.
@@ -208,7 +208,7 @@ jQuery.extend({
easing: fn && easing || easing && easing.constructor != Function && easing
};

opt.duration = typeof opt.duration == 'number' ? opt.duration :
opt.duration = jQuery.fx.off ? 0 : typeof opt.duration == 'number' ? opt.duration :
jQuery.fx.speeds[opt.duration] || jQuery.fx.speeds._default;

// Queueing

0 comments on commit 30751dd

Please sign in to comment.