From a577f1922ee7054a97b455ccfaa16857cb2b79fc Mon Sep 17 00:00:00 2001 From: Heinrich Fenkart Date: Fri, 14 Nov 2014 15:18:34 +0100 Subject: [PATCH] Collapse: Use $.fn.children instead of `>` in selector Fixes #15131. --- js/collapse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/collapse.js b/js/collapse.js index b2cc125381..a2ede5914e 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')