mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-19 14:00:24 +00:00
Merge pull request #14353 from hnrch02/collapse-count-collapsing-as-active
Collapse: count `.collapsing` elements as actives; closes #13447
This commit is contained in:
commit
40f889df2a
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@
|
|||
this.$element.trigger(startEvent)
|
||||
if (startEvent.isDefaultPrevented()) return
|
||||
|
||||
var actives = this.$parent && this.$parent.find('> .panel > .in')
|
||||
var actives = this.$parent && this.$parent.find('> .panel').children('.in, .collapsing')
|
||||
|
||||
if (actives && actives.length) {
|
||||
var hasData = actives.data('bs.collapse')
|
||||
|
|
|
|||
Loading…
Reference in a new issue