X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Ffx.js;h=5f3a4929a5f3218b33f6a7c5ae96da02d3f9fff2;hb=e6fccd71031bd37300c1dfe79873b3d2529b4775;hp=d76dbdbaeffaa5dbfc4cd84e3da445f68a8641ab;hpb=17b1e407d101c5c7f91db633df3a80cd9b4466ae;p=jquery.git diff --git a/src/fx.js b/src/fx.js index d76dbdb..5f3a492 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){