mirror of https://github.com/twbs/bootstrap.git
				
				
				
			Add JS to fix indeterminate checkbox example in docs
Fixes #17196 Closes #17510
This commit is contained in:
		
							parent
							
								
									9a61cfb3d1
								
							
						
					
					
						commit
						2dce4740cf
					
				| 
						 | 
				
			
			@ -28,6 +28,9 @@
 | 
			
		|||
    $('.tooltip-test').tooltip()
 | 
			
		||||
    $('.popover-test').popover()
 | 
			
		||||
 | 
			
		||||
    // Indeterminate checkbox example
 | 
			
		||||
    $('.bd-example-indeterminate [type="checkbox"]').prop('indeterminate', true)
 | 
			
		||||
 | 
			
		||||
    // Disable empty links in docs examples
 | 
			
		||||
    $('.bd-example [href=#]').click(function (e) {
 | 
			
		||||
      e.preventDefault()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue