We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5f6a71 commit 126d46cCopy full SHA for 126d46c
ui/jquery.effects.pulsate.js
@@ -19,8 +19,8 @@ $.effects.effect.pulsate = function( o ) {
19
show = mode === "show" || elem.is( ":hidden" ),
20
showhide = ( show || mode === "hide" ),
21
22
- // showing or hiding leaves of the "last" animation
23
- anims = ( ( o.times || 5 ) * 2 ) - ( showhide ? 1 : 0 ),
+ // showing or hiding adds an extra "half" animation
+ anims = ( ( o.times || 5 ) * 2 ) + ( showhide ? 1 : 0 ),
24
duration = o.duration / anims,
25
animateTo = 0,
26
queue = elem.queue(),
0 commit comments