mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
fixes #2941 + whitespace in collapse
This commit is contained in:
parent
13e4d1d5ac
commit
0b8042656f
4 changed files with 6 additions and 4 deletions
1
docs/assets/js/bootstrap-collapse.js
vendored
1
docs/assets/js/bootstrap-collapse.js
vendored
|
@ -60,6 +60,7 @@
|
|||
|
||||
if (actives && actives.length) {
|
||||
hasData = actives.data('collapse')
|
||||
if (hasData && hasData.transitioning) return
|
||||
actives.collapse('hide')
|
||||
hasData || actives.data('collapse', null)
|
||||
}
|
||||
|
|
1
js/bootstrap-collapse.js
vendored
1
js/bootstrap-collapse.js
vendored
|
@ -60,6 +60,7 @@
|
|||
|
||||
if (actives && actives.length) {
|
||||
hasData = actives.data('collapse')
|
||||
if (hasData && hasData.transitioning) return
|
||||
actives.collapse('hide')
|
||||
hasData || actives.data('collapse', null)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue