mirror of
				https://github.com/twbs/bootstrap.git
				synced 2025-11-04 00:03:15 -05:00 
			
		
		
		
	dropdown.js: Use more straightforward phrasing for index lower bound check
[skip sauce] [skip validator]
This commit is contained in:
		
							parent
							
								
									74ddd041b5
								
							
						
					
					
						commit
						31ca64232d
					
				@ -250,7 +250,7 @@ const Dropdown = (($) => {
 | 
			
		||||
        index++
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      if (!~index) {
 | 
			
		||||
      if (index < 0) {
 | 
			
		||||
        index = 0
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user