Skip to content
This repository has been archived by the owner on Jan 3, 2020. It is now read-only.

Commit

Permalink
Fix: #23 #24 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mihnsen committed Jun 18, 2017
1 parent 00b0c7a commit 49998b3
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-ui-carousel",
"version": "0.1.9",
"version": "0.1.10",
"authors": [
{
"name": "mihnsen",
Expand Down
5 changes: 3 additions & 2 deletions dist/ui-carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,10 @@ angular.module('ui.carousel.controllers').controller('CarouselController', ['$sc
}

// No-fade handler
var left = -1 * target * _this.itemWidth;
var itemWidth = _this.width / _this.options.slidesToShow;
var left = -1 * target * itemWidth;
if (_this.options.infinite) {
left = -1 * (anim + show) * _this.itemWidth;
left = -1 * (anim + show) * itemWidth;
}

_this.isTrackMoving = true;
Expand Down
2 changes: 1 addition & 1 deletion dist/ui-carousel.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 49998b3

Please sign in to comment.