Skip to content
This repository has been archived by the owner on May 10, 2018. It is now read-only.

Commit

Permalink
Merge pull request #214 from hlsolutions/bugfix/fix-swipe-container-i…
Browse files Browse the repository at this point in the history
…ssue

Fix swipe issues on iOS
  • Loading branch information
Julien Bouquillon committed Oct 13, 2014
2 parents 0ebcfd0 + 4993ce2 commit e3ba815
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/angular-carousel.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Angular Carousel - Mobile friendly touch carousel for AngularJS
* @version v0.2.4 - 2014-07-25
* @version v0.2.5 - 2014-10-10
* @link http://revolunet.github.com/angular-carousel
* @author Julien Bouquillon <[email protected]>
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down Expand Up @@ -505,7 +505,7 @@ angular.module('angular-carousel').run(['$templateCache', function($templateCach
iAttributes.$observe('rnCarouselSwipe', function(newValue, oldValue) {
// only bind swipe when it's not switched off
if(newValue !== 'false' && newValue !== 'off') {
$swipe.bind(carousel, {
$swipe.bind(container, {
start: swipeStart,
move: swipeMove,
end: swipeEnd,
Expand Down
4 changes: 2 additions & 2 deletions dist/angular-carousel.min.js

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

2 changes: 1 addition & 1 deletion src/directives/rn-carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@
iAttributes.$observe('rnCarouselSwipe', function(newValue, oldValue) {
// only bind swipe when it's not switched off
if(newValue !== 'false' && newValue !== 'off') {
$swipe.bind(carousel, {
$swipe.bind(container, {
start: swipeStart,
move: swipeMove,
end: swipeEnd,
Expand Down

0 comments on commit e3ba815

Please sign in to comment.