]> source.dussan.org Git - jquery-ui.git/commitdiff
effect.bounce: fixing default distance to be 1/3 the size of the bouncing box - thx...
authorgnarf <gnarf@gnarf.net>
Tue, 3 May 2011 13:39:02 +0000 (08:39 -0500)
committergnarf <gnarf@gnarf.net>
Tue, 3 May 2011 13:39:02 +0000 (08:39 -0500)
ui/jquery.effects.bounce.js

index 1ffd5ed5adad49f877439781a956b6d325209b34..550f433b9bfebdac805b5198173600b5cc9587e9 100644 (file)
@@ -23,7 +23,7 @@ $.effects.effect.bounce = function(o) {
                        hide = mode === "hide",
                        show = mode === "show",
                        direction = o.direction || "up", 
-                       distance = o.distance || 20,
+                       distance = o.distance,
                        times = o.times || 5,
 
                        // number of internal animations