From 89a73f100e7a3c765314e5cff0eeaf9c051f2944 Mon Sep 17 00:00:00 2001 From: Johann-S Date: Fri, 4 Jan 2019 17:15:01 +0100 Subject: carousel should not cycle when there is no data-ride on init (#27968) --- js/src/carousel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/src') diff --git a/js/src/carousel.js b/js/src/carousel.js index 21ec57a2e..a43d86b18 100644 --- a/js/src/carousel.js +++ b/js/src/carousel.js @@ -531,7 +531,7 @@ class Carousel { throw new TypeError(`No method named "${action}"`) } data[action]() - } else if (_config.interval) { + } else if (_config.interval && _config.ride) { data.pause() data.cycle() } -- cgit v1.2.3