aboutsummaryrefslogtreecommitdiffstats
path: root/template-common/lib/ui/minified/effects.pulsate.min.js
diff options
context:
space:
mode:
Diffstat (limited to 'template-common/lib/ui/minified/effects.pulsate.min.js')
-rw-r--r--template-common/lib/ui/minified/effects.pulsate.min.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/template-common/lib/ui/minified/effects.pulsate.min.js b/template-common/lib/ui/minified/effects.pulsate.min.js
index 8e29ced18..e1e49b0fa 100644
--- a/template-common/lib/ui/minified/effects.pulsate.min.js
+++ b/template-common/lib/ui/minified/effects.pulsate.min.js
@@ -1 +1 @@
-(function(A){A.effects.pulsate=function(B){return this.queue(function(){var D=A(this);var F=A.effects.setMode(D,B.options.mode||"show");var E=B.options.times||5;if(F=="hide"){E--}if(D.is(":hidden")){D.css("opacity",0);D.show();D.animate({opacity:1},B.duration/2,B.options.easing);E=E-2}for(var C=0;C<E;C++){D.animate({opacity:0},B.duration/2,B.options.easing).animate({opacity:1},B.duration/2,B.options.easing)}if(F=="hide"){D.animate({opacity:0},B.duration/2,B.options.easing,function(){D.hide();if(B.callback){B.callback.apply(this,arguments)}})}else{D.animate({opacity:0},B.duration/2,B.options.easing).animate({opacity:1},B.duration/2,B.options.easing,function(){if(B.callback){B.callback.apply(this,arguments)}})}D.queue("fx",function(){D.dequeue()});D.dequeue()})}})(jQuery) \ No newline at end of file
+(function($){$.effects.pulsate=function(o){return this.queue(function(){var el=$(this);var mode=$.effects.setMode(el,o.options.mode||"show");var times=o.options.times||5;var duration=o.duration?o.duration/2:$.fx.speeds._default/2;if(mode=="hide"){times--}if(el.is(":hidden")){el.css("opacity",0);el.show();el.animate({opacity:1},duration,o.options.easing);times=times-2}for(var i=0;i<times;i++){el.animate({opacity:0},duration,o.options.easing).animate({opacity:1},duration,o.options.easing)}if(mode=="hide"){el.animate({opacity:0},duration,o.options.easing,function(){el.hide();if(o.callback){o.callback.apply(this,arguments)}})}else{el.animate({opacity:0},duration,o.options.easing).animate({opacity:1},duration,o.options.easing,function(){if(o.callback){o.callback.apply(this,arguments)}})}el.queue("fx",function(){el.dequeue()});el.dequeue()})}})(jQuery); \ No newline at end of file