jquery fx: closes #3496. $.fx.off = true; turns off animations.
This commit is contained in:
parent
ad54d14ae5
commit
30751dd9f1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue