From: Ariel Flesler Date: Fri, 2 May 2008 14:12:26 +0000 (+0000) Subject: jquery fx: adding jQuery.fx.def as default speed for animations X-Git-Tag: 1.2.4b~43 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=87758bbe693c77c15e02f485a85e7d993248d190;p=jquery.git jquery fx: adding jQuery.fx.def as default speed for animations --- diff --git a/src/fx.js b/src/fx.js index d76dbdbae..5f3a4929a 100644 --- a/src/fx.js +++ b/src/fx.js @@ -218,7 +218,7 @@ jQuery.extend({ opt.duration = (opt.duration && opt.duration.constructor == Number ? opt.duration : - jQuery.fx.speeds[opt.duration]) || 400; + jQuery.fx.speeds[opt.duration]) || jQuery.fx.speeds.def; // Queueing opt.old = opt.complete; @@ -404,7 +404,8 @@ jQuery.fx.prototype = { jQuery.extend( jQuery.fx, { speeds:{ slow: 600, - fast: 200 + fast: 200, + def: 400 //default speed }, step: { scrollLeft: function(fx){