mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-26 13:29:06 +02:00
Switch to Number properties
This commit is contained in:
@@ -419,7 +419,7 @@ class Carousel {
|
||||
return
|
||||
}
|
||||
|
||||
const elementInterval = parseInt(element.getAttribute('data-bs-interval'), 10)
|
||||
const elementInterval = Number.parseInt(element.getAttribute('data-bs-interval'), 10)
|
||||
|
||||
if (elementInterval) {
|
||||
this._config.defaultInterval = this._config.defaultInterval || this._config.interval
|
||||
|
Reference in New Issue
Block a user