Skip to content

Commit

Permalink
custom toggleControls setting. Fixes #560
Browse files Browse the repository at this point in the history
  • Loading branch information
Mottie committed Oct 4, 2013
1 parent 5091c76 commit 6ea2c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/jquery.anythingslider.js
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@
// don't trigger events when time < 0 - to prevent FX from firing multiple times on page resize
if (time >= 0) { base.$el.trigger('slide_init', base); }
// toggle arrows/controls only if there is time to see it - fix issue #317
if (time > 0) { base.slideControls(true); }
if (time > 0 && o.toggleControls === true ) { base.slideControls(true); }

// Set visual
if (o.buildNavigation){
Expand Down

0 comments on commit 6ea2c36

Please sign in to comment.