aboutsummaryrefslogtreecommitdiffstats
path: root/src/fx.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/fx.js')
-rw-r--r--src/fx.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fx.js b/src/fx.js
index 8cb7b99a9..3fe936909 100644
--- a/src/fx.js
+++ b/src/fx.js
@@ -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