mirror of https://github.com/twbs/bootstrap.git
				
				
				
			only prevent default of links in sections
This commit is contained in:
		
							parent
							
								
									3ed836b198
								
							
						
					
					
						commit
						7444310c4d
					
				| 
						 | 
				
			
			@ -38,7 +38,7 @@ $(function(){
 | 
			
		|||
  // it's merely here to prevent button clicks form taking you
 | 
			
		||||
  // away from your spot on page!!
 | 
			
		||||
 | 
			
		||||
  $('[href^=#]').click(function (e) {
 | 
			
		||||
  $('section [href^=#]').click(function (e) {
 | 
			
		||||
    e.preventDefault()
 | 
			
		||||
  })
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue