Skip to content

Commit

Permalink
Fixing IE9 issue, updating version
Browse files Browse the repository at this point in the history
  • Loading branch information
kenwheeler committed Apr 22, 2014
1 parent 49e581b commit 19c5c7d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "slick-carousel",
"main": "slick/slick.min.js",
"version": "1.3.4",
"version": "1.3.5",
"homepage": "https://github.com/kenwheeler/slick",
"authors": [
"Ken Wheeler <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "slick",
"repo": "kenwheeler/slick",
"description": "the last carousel you'll ever need",
"version": "1.3.4",
"version": "1.3.5",
"keywords": ["ui", "jquery", "carousel", "responsive", "slider"],
"dependencies": {
"component/jquery": "*"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "slick-carousel",
"version": "1.3.4",
"version": "1.3.5",
"description": "the last carousel you'll ever need",
"main": "js/slick.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion slick.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"touch",
"mobile"
],
"version": "1.3.4",
"version": "1.3.5",
"author": {
"name": "Ken Wheeler",
"url": "http://kenwheeler.github.io"
Expand Down
4 changes: 2 additions & 2 deletions slick/slick.js
Original file line number Diff line number Diff line change
Expand Up @@ -1241,6 +1241,8 @@

unevenOffset = _.slideCount % _.options.slidesToScroll !== 0 ? _.options.slidesToScroll : 0;

_.currentLeft = _.swipeLeft === null ? slideLeft : _.swipeLeft;

if (_.options.infinite === false && (index < 0 || index > (_.slideCount - _.options.slidesToShow + unevenOffset))) {
targetSlide = _.currentSlide;
_.animateSlide(slideLeft, function() {
Expand All @@ -1253,8 +1255,6 @@
clearInterval(_.autoPlayTimer);
}

_.currentLeft = _.swipeLeft === null ? slideLeft : _.swipeLeft;

if (targetSlide < 0) {
if (_.slideCount % _.options.slidesToScroll !== 0) {
animSlide = _.slideCount - (_.slideCount % _.options.slidesToScroll);
Expand Down
2 changes: 1 addition & 1 deletion slick/slick.min.js

Large diffs are not rendered by default.

0 comments on commit 19c5c7d

Please sign in to comment.