Skip to content

Commit

Permalink
Merge pull request woocommerce#764 from danwit/release-2-2-0
Browse files Browse the repository at this point in the history
Changes execution order of the before callback.
  • Loading branch information
mattyza committed Aug 5, 2013
2 parents 0f430f8 + ad850a0 commit c194370
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions jquery.flexslider.js
Original file line number Diff line number Diff line change
Expand Up @@ -657,12 +657,13 @@

slider.animating = true;
slider.animatingTo = target;
// API: before() animation Callback
slider.vars.before(slider);

// SLIDESHOW:
if (pause) slider.pause();

// API: before() animation Callback
slider.vars.before(slider);

// SYNC:
if (slider.syncExists && !fromNav) methods.sync("animate");

Expand Down

0 comments on commit c194370

Please sign in to comment.