mirror of
				https://github.com/twbs/bootstrap.git
				synced 2025-11-04 00:03:15 -05:00 
			
		
		
		
	fixes #8892
This commit is contained in:
		
							parent
							
								
									ccd4c9d7b5
								
							
						
					
					
						commit
						7a3c61ee33
					
				@ -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>
 | 
			
		||||
 | 
			
		||||
@ -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')
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user