1
0
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:
XhmikosR
2020-05-02 16:49:33 +03:00
parent b9f7668cf6
commit 2e758f64cf
5 changed files with 13 additions and 14 deletions

View File

@@ -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