mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
carousel should not cycle when there is no data-ride on init (#27968)
This commit is contained in:
+1
-1
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user