mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
Merge branch 'master' of https://bitbucket.org/bellord13/kit
This commit is contained in:
@@ -200,8 +200,8 @@ kit.PluginManager.register('collapse', function(module, exports, require) {
|
||||
const capitalizedDimension = dimension[0].toUpperCase() + dimension.slice(1)
|
||||
const scrollSize = `scroll${capitalizedDimension}`
|
||||
|
||||
this._queueCallback(complete, this._element, true)
|
||||
this._element.style[dimension] = `${this._element[scrollSize]}px`
|
||||
this._queueCallback(complete, this._element, this._element.getAttribute('data-bs-animated') === 'true')
|
||||
}
|
||||
|
||||
hide() {
|
||||
@@ -247,7 +247,7 @@ kit.PluginManager.register('collapse', function(module, exports, require) {
|
||||
|
||||
this._element.style[dimension] = ''
|
||||
|
||||
this._queueCallback(complete, this._element, true)
|
||||
this._queueCallback(complete, this._element, this._element.getAttribute('data-bs-animated') === 'true')
|
||||
}
|
||||
|
||||
setTransitioning(isTransitioning) {
|
||||
|
||||
Reference in New Issue
Block a user