Skip to content

Commit

Permalink
changed execution order of the before callback
Browse files Browse the repository at this point in the history
  • Loading branch information
Danny Witting committed Jul 3, 2013
1 parent d1c206b commit ad850a0
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 ad850a0

Please sign in to comment.