aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/tests/unit/carousel.js2
-rw-r--r--scss/_carousel.scss2
2 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/unit/carousel.js b/js/tests/unit/carousel.js
index 68c28aec5..932b90f7d 100644
--- a/js/tests/unit/carousel.js
+++ b/js/tests/unit/carousel.js
@@ -19,7 +19,7 @@ $(function () {
var stylesCarousel = [
'<style>',
- ' .carousel.pointer-event { -ms-touch-action: pan-x; touch-action: pan-x; }',
+ ' .carousel.pointer-event { -ms-touch-action: pan-y pinch-zoom; touch-action: pan-y pinch-zoom; }',
'</style>'
].join('')
diff --git a/scss/_carousel.scss b/scss/_carousel.scss
index 7d3728b40..130965f79 100644
--- a/scss/_carousel.scss
+++ b/scss/_carousel.scss
@@ -13,7 +13,7 @@
}
.carousel.pointer-event {
- touch-action: pan-x;
+ touch-action: pan-y pinch-zoom;
}
.carousel-inner {