Collapse: Use $.fn.children instead of `>` in selector

Fixes #15131.
This commit is contained in:
Heinrich Fenkart 2014-11-14 15:18:34 +01:00
parent 14857bd4a2
commit a577f1922e
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@
if (this.transitioning || this.$element.hasClass('in')) return
var activesData
var actives = this.$parent && this.$parent.find('> .panel').children('.in, .collapsing')
var actives = this.$parent && this.$parent.children('.panel').children('.in, .collapsing')
if (actives && actives.length) {
activesData = actives.data('bs.collapse')