mirror of
				https://github.com/twbs/bootstrap.git
				synced 2025-11-04 00:03:15 -05:00 
			
		
		
		
	Update dropdown.js
This commit is contained in:
		
							parent
							
								
									6b547b357a
								
							
						
					
					
						commit
						ad86d9a51b
					
				@ -41,7 +41,7 @@
 | 
			
		||||
 | 
			
		||||
    if (!isActive) {
 | 
			
		||||
      if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
 | 
			
		||||
        // if mobile we we use a backdrop because click events don't delegate
 | 
			
		||||
        // if mobile we use a backdrop because click events don't delegate
 | 
			
		||||
        $('<div class="dropdown-backdrop"/>').insertAfter($(this)).on('click', clearMenus)
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user