From 7a3c61ee33b8a07de20b2d30ed2bcd5fd7649fd6 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Wed, 31 Jul 2013 22:57:00 -0700 Subject: [PATCH] fixes #8892 --- javascript.html | 2 +- js/collapse.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript.html b/javascript.html index 845a6e9ec8..17dc81392c 100644 --- a/javascript.html +++ b/javascript.html @@ -1480,7 +1480,7 @@ $(".collapse").collapse() parent selector false - If selector then all collapsible elements under the specified parent will be closed when this collapsible item is shown. (similar to traditional accordion behavior) + If selector then all collapsible elements under the specified parent will be closed when this collapsible item is shown. (similar to traditional accordion behavior - this dependent on the accordion-group class) toggle diff --git a/js/collapse.js b/js/collapse.js index 34ac3c7fa6..ab575515de 100644 --- a/js/collapse.js +++ b/js/collapse.js @@ -48,7 +48,7 @@ this.$element.trigger(startEvent) if (startEvent.isDefaultPrevented()) return - var actives = this.$parent && this.$parent.find('> .accordion-group > .in') + var actives = this.$parent && this.$parent.find('> .accordion-group > .in') if (actives && actives.length) { var hasData = actives.data('bs.collapse')