mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-30 22:52:24 +01:00
Collapse: count .collapsing
elements as actives; closes #13447
This commit is contained in:
parent
b4895a0d6d
commit
436015c191
@ -42,7 +42,7 @@
|
|||||||
this.$element.trigger(startEvent)
|
this.$element.trigger(startEvent)
|
||||||
if (startEvent.isDefaultPrevented()) return
|
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) {
|
if (actives && actives.length) {
|
||||||
var hasData = actives.data('bs.collapse')
|
var hasData = actives.data('bs.collapse')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user