Skip to content

Commit

Permalink
Fix: Enable next and prev buttons if have Carousel options and slides…
Browse files Browse the repository at this point in the history
… smaller slide options
  • Loading branch information
Vinicius Eloy committed May 8, 2017
1 parent 04d1611 commit d3d239c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui-carousel/controllers/carousel.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -565,8 +565,8 @@ angular.module('ui.carousel.controllers')
this.isClickableNext = true;
} else {
this.isVisibleDots = false;
this.isVisiblePrev = false;
this.isVisibleNext = false;
this.isVisiblePrev = this.options.visiblePrev || false;
this.isVisibleNext = this.options.visibleNext || false;
this.isClickablePrev = false;
this.isClickableNext = false;
}
Expand Down

0 comments on commit d3d239c

Please sign in to comment.