Skip to content

Commit

Permalink
Merges woocommerce#629.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyza committed Dec 13, 2013
1 parent 0d43ffb commit 1b3d386
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion jquery.flexslider.js
Original file line number Diff line number Diff line change
Expand Up @@ -910,6 +910,9 @@
// !CAROUSEL:
// CANDIDATE: active slide
if (!carousel) slider.slides.removeClass(namespace + "active-slide").eq(slider.currentSlide).addClass(namespace + "active-slide");

//FlexSlider: init() Callback
slider.vars.init(slider);
};

slider.doMath = function() {
Expand Down Expand Up @@ -1097,7 +1100,8 @@
after: function(){}, //Callback: function(slider) - Fires after each slider animation completes
end: function(){}, //Callback: function(slider) - Fires when the slider reaches the last slide (asynchronous)
added: function(){}, //{NEW} Callback: function(slider) - Fires after a slide is added
removed: function(){} //{NEW} Callback: function(slider) - Fires after a slide is removed
removed: function(){}, //{NEW} Callback: function(slider) - Fires after a slide is removed
init: function() {} //{NEW} Callback: function(slider) - Fires after the slider is initially setup
};

//FlexSlider: Plugin Function
Expand Down

0 comments on commit 1b3d386

Please sign in to comment.