Skip to content

Commit

Permalink
added index to onSliderLoad
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Wanderski committed Nov 28, 2012
1 parent 7677e98 commit 73edf68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jquery.bxslider.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
// set the viewport height
slider.viewport.animate({height: getViewportHeight()}, 200, function(){
// onSliderLoad callback
slider.settings.onSliderLoad();
slider.settings.onSliderLoad(slider.active.index);
});
// if auto is true, start the show
if (slider.settings.auto && slider.settings.autoStart) initAuto();
Expand Down
Loading

0 comments on commit 73edf68

Please sign in to comment.