diff options
| author | Heinrich Fenkart <[email protected]> | 2014-11-14 15:18:34 +0100 |
|---|---|---|
| committer | Heinrich Fenkart <[email protected]> | 2014-11-14 15:18:34 +0100 |
| commit | a577f1922ee7054a97b455ccfaa16857cb2b79fc (patch) | |
| tree | 062da4f5038915476e17eebb202649fe59f2629d /js/collapse.js | |
| parent | 14857bd4a2d4486a12d0f8bacb3abd703cf8c1c7 (diff) | |
| download | bootstrap-a577f1922ee7054a97b455ccfaa16857cb2b79fc.tar.xz bootstrap-a577f1922ee7054a97b455ccfaa16857cb2b79fc.zip | |
Collapse: Use $.fn.children instead of `>` in selector
Fixes #15131.
Diffstat (limited to 'js/collapse.js')
| -rw-r--r-- | js/collapse.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/collapse.js b/js/collapse.js index b2cc12538..a2ede5914 100644 --- a/js/collapse.js +++ b/js/collapse.js @@ -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') |
