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

Commit e3ba815

Browse files
author
Julien Bouquillon
committed
Merge pull request #214 from hlsolutions/bugfix/fix-swipe-container-issue
Fix swipe issues on iOS
2 parents 0ebcfd0 + 4993ce2 commit e3ba815

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dist/angular-carousel.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Angular Carousel - Mobile friendly touch carousel for AngularJS
3-
* @version v0.2.4 - 2014-07-25
3+
* @version v0.2.5 - 2014-10-10
44
* @link http://revolunet.github.com/angular-carousel
55
* @author Julien Bouquillon <[email protected]>
66
* @license MIT License, http://www.opensource.org/licenses/MIT
@@ -505,7 +505,7 @@ angular.module('angular-carousel').run(['$templateCache', function($templateCach
505505
iAttributes.$observe('rnCarouselSwipe', function(newValue, oldValue) {
506506
// only bind swipe when it's not switched off
507507
if(newValue !== 'false' && newValue !== 'off') {
508-
$swipe.bind(carousel, {
508+
$swipe.bind(container, {
509509
start: swipeStart,
510510
move: swipeMove,
511511
end: swipeEnd,

dist/angular-carousel.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/directives/rn-carousel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@
381381
iAttributes.$observe('rnCarouselSwipe', function(newValue, oldValue) {
382382
// only bind swipe when it's not switched off
383383
if(newValue !== 'false' && newValue !== 'off') {
384-
$swipe.bind(carousel, {
384+
$swipe.bind(container, {
385385
start: swipeStart,
386386
move: swipeMove,
387387
end: swipeEnd,

0 commit comments

Comments
 (0)