Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit f269983

Browse files
committedSep 10, 2015
chore(carousel): clean up code style
1 parent 365cdd6 commit f269983

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/carousel/carousel.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ angular.module('ui.bootstrap.carousel', [])
108108
$scope.prev = function() {
109109
var newIndex = self.getCurrentIndex() - 1 < 0 ? slides.length - 1 : self.getCurrentIndex() - 1;
110110

111-
if ($scope.noWrap() && newIndex === slides.length - 1){
111+
if ($scope.noWrap() && newIndex === slides.length - 1) {
112112
$scope.pause();
113113
return;
114114
}

0 commit comments

Comments
 (0)
This repository has been archived.