diff options
author | Mark Otto <markdotto@gmail.com> | 2018-09-19 07:35:40 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2018-09-19 07:35:40 +0300 |
commit | f6244654a6389898f506eaa865bd900e994c077f (patch) | |
tree | 15056266edb91fe09d591adc6994f49e3ac9bcd5 /dist/js/bootstrap.bundle.js | |
parent | 0bec1c889711823494d2821fa6e5841169df4797 (diff) |
dist
Diffstat (limited to 'dist/js/bootstrap.bundle.js')
-rw-r--r-- | dist/js/bootstrap.bundle.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dist/js/bootstrap.bundle.js b/dist/js/bootstrap.bundle.js index 17374b0e91..e4a377bd0c 100644 --- a/dist/js/bootstrap.bundle.js +++ b/dist/js/bootstrap.bundle.js @@ -907,6 +907,15 @@ Util.reflow(nextElement); $$$1(activeElement).addClass(directionalClassName); $$$1(nextElement).addClass(directionalClassName); + var nextElementInterval = parseInt(nextElement.getAttribute('data-interval'), 10); + + if (nextElementInterval) { + this._config.defaultInterval = this._config.defaultInterval || this._config.interval; + this._config.interval = nextElementInterval; + } else { + this._config.interval = this._config.defaultInterval || this._config.interval; + } + var transitionDuration = Util.getTransitionDurationFromElement(activeElement); $$$1(activeElement).one(Util.TRANSITION_END, function () { $$$1(nextElement).removeClass(directionalClassName + " " + orderClassName).addClass(ClassName.ACTIVE); |