Skip to content

Commit

Permalink
Merge pull request nolimits4web#229 from knusperpixel/master
Browse files Browse the repository at this point in the history
Enable stopAutoplay when in loop-mode
  • Loading branch information
nolimits4web committed Jun 25, 2013
2 parents 7e4558f + f293e1d commit c4c60ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/idangerous.swiper.js
Original file line number Diff line number Diff line change
Expand Up @@ -1914,7 +1914,7 @@ var Swiper = function (selector, params) {
}, params.autoplay)
}
if (params.autoplay && params.loop) {
autoPlay = setInterval(function(){
autoPlayInterval = setInterval(function(){
_this.swipeNext();
}, params.autoplay)
}
Expand Down Expand Up @@ -2342,4 +2342,4 @@ if (window.jQuery||window.Zepto) {
return s
}
})(window.jQuery||window.Zepto)
}
}

0 comments on commit c4c60ec

Please sign in to comment.