diff options
Diffstat (limited to 'js/dist/carousel.js')
-rw-r--r-- | js/dist/carousel.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/js/dist/carousel.js b/js/dist/carousel.js index 81478e15af..6133eb5032 100644 --- a/js/dist/carousel.js +++ b/js/dist/carousel.js @@ -1,5 +1,5 @@ /*! - * Bootstrap carousel.js v4.2.1 (https://getbootstrap.com/) + * Bootstrap carousel.js v4.3.0 (https://getbootstrap.com/) * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ @@ -69,7 +69,7 @@ */ var NAME = 'carousel'; - var VERSION = '4.2.1'; + var VERSION = '4.3.0'; var DATA_KEY = 'bs.carousel'; var EVENT_KEY = "." + DATA_KEY; var DATA_API_KEY = '.data-api'; @@ -309,7 +309,9 @@ }); } - this._addTouchEventListeners(); + if (this._config.touch) { + this._addTouchEventListeners(); + } }; _proto._addTouchEventListeners = function _addTouchEventListeners() { |