aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.effects.pulsate.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/jquery.effects.pulsate.js')
-rw-r--r--ui/jquery.effects.pulsate.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.effects.pulsate.js b/ui/jquery.effects.pulsate.js
index bec33a4bb..3325c251f 100644
--- a/ui/jquery.effects.pulsate.js
+++ b/ui/jquery.effects.pulsate.js
@@ -19,8 +19,8 @@ $.effects.effect.pulsate = function( o ) {
show = mode === "show" || elem.is( ":hidden" ),
showhide = ( show || mode === "hide" ),
- // showing or hiding leaves of the "last" animation
- anims = ( ( o.times || 5 ) * 2 ) - ( showhide ? 1 : 0 ),
+ // showing or hiding adds an extra "half" animation
+ anims = ( ( o.times || 5 ) * 2 ) + ( showhide ? 1 : 0 ),
duration = o.duration / anims,
animateTo = 0,
queue = elem.queue(),