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

Commit 1706757

Browse files
demo(carousel): fix a link to first cat image
Fixes #2841
1 parent b9db670 commit 1706757

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/carousel/docs/demo.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ angular.module('ui.bootstrap.demo').controller('CarouselDemoCtrl', function ($sc
22
$scope.myInterval = 5000;
33
var slides = $scope.slides = [];
44
$scope.addSlide = function() {
5-
var newWidth = 600 + slides.length;
5+
var newWidth = 600 + slides.length + 1;
66
slides.push({
77
image: 'http://placekitten.com/' + newWidth + '/300',
88
text: ['More','Extra','Lots of','Surplus'][slides.length % 4] + ' ' +

0 commit comments

Comments
 (0)