]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #8892
authorJacob Thornton <jacobthornton@gmail.com>
Thu, 1 Aug 2013 05:57:00 +0000 (22:57 -0700)
committerJacob Thornton <jacobthornton@gmail.com>
Thu, 1 Aug 2013 05:57:00 +0000 (22:57 -0700)
javascript.html
js/collapse.js

index 845a6e9ec82e45ab4950dd5cc5369cbd81d9c424..17dc81392c02a297528df730c5abfc2b282ce7de 100644 (file)
@@ -1480,7 +1480,7 @@ $(".collapse").collapse()
            <td>parent</td>
            <td>selector</td>
            <td>false</td>
-           <td>If selector then all collapsible elements under the specified parent will be closed when this collapsible item is shown. (similar to traditional accordion behavior)</td>
+           <td>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 <code>accordion-group</code> class)</td>
          </tr>
          <tr>
            <td>toggle</td>
index 34ac3c7fa677b882fdd6dd4ee080698bd609f591..ab575515de0528b34c73b589cdb33ae19c180c55 100644 (file)
@@ -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')