We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1533bf7 commit 1804e4fCopy full SHA for 1804e4f
src/effects.js
@@ -254,7 +254,7 @@ jQuery.extend({
254
};
255
256
opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration :
257
- jQuery.fx.speeds[opt.duration] || jQuery.fx.speeds._default;
+ opt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[opt.duration] : jQuery.fx.speeds._default;
258
259
// Queueing
260
opt.old = opt.complete;
0 commit comments