Skip to content

Commit

Permalink
animateStep/-Complete callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
Martijn authored and Martijn committed Sep 1, 2013
1 parent 9af51f5 commit 1f09b51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jquery.coverflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@
}), {
'easing': that.options.easing,
'duration': duration,
'step': function(now, fx) {
'step': function(now, fx) {
// Store state
state[fx.prop] = now;

Expand All @@ -306,7 +306,7 @@
that._trigger('animateStep', cover, [cover, offset, isVisible, isMiddle, state._sin, state._cos]);
}
},
'complete': function() {
'complete': function() {
$(this)[isMiddle ? 'addClass' : 'removeClass']('current');
$(this)[isVisible ? 'show' : 'hide']();

Expand Down

0 comments on commit 1f09b51

Please sign in to comment.