Skip to content

Commit cc2342a

Browse files
committed
effects.bounce: removing the opti for duration, the normalizeArguments in core will ALWAYS set a duration, no need to default here
1 parent 504e599 commit cc2342a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.effects.bounce.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ $.effects.effect.bounce = function(o) {
3030

3131
// number of internal animations
3232
anims = times * 2 + showhide,
33-
speed = (o.duration || 250) / anims,
33+
speed = o.duration / anims,
3434
easing = o.easing,
3535

3636
// utility:

0 commit comments

Comments
 (0)