Skip to content

Commit

Permalink
demo(carousel): fix a link to first cat image
Browse files Browse the repository at this point in the history
  • Loading branch information
pkozlowski-opensource authored and ulle committed Oct 22, 2014
1 parent cd89160 commit 5dbbd19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/carousel/docs/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ angular.module('ui.bootstrap.demo').controller('CarouselDemoCtrl', function ($sc
$scope.myInterval = 5000;
var slides = $scope.slides = [];
$scope.addSlide = function() {
var newWidth = 600 + slides.length;
var newWidth = 600 + slides.length + 1;
slides.push({
image: 'http://placekitten.com/' + newWidth + '/300',
text: ['More','Extra','Lots of','Surplus'][slides.length % 4] + ' ' +
Expand Down

0 comments on commit 5dbbd19

Please sign in to comment.