Skip to content

Commit

Permalink
chore(carousel): clean up code style
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleycho authored and jasonaden committed Sep 30, 2015
1 parent f836a5f commit 323a98c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/carousel/carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ angular.module('ui.bootstrap.carousel', [])
$scope.prev = function() {
var newIndex = self.getCurrentIndex() - 1 < 0 ? slides.length - 1 : self.getCurrentIndex() - 1;

if ($scope.noWrap() && newIndex === slides.length - 1){
if ($scope.noWrap() && newIndex === slides.length - 1) {
$scope.pause();
return;
}
Expand Down

0 comments on commit 323a98c

Please sign in to comment.