mirror of
https://github.com/jquery/jquery.git
synced 2026-01-25 01:28:18 -05:00
jquery fx: closes #3496. $.fx.off = true; turns off animations.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user