mirror of
				https://github.com/searxng/searxng.git
				synced 2025-11-04 03:27:06 -05:00 
			
		
		
		
	use change function just like in case of language selection
				
					
				
			The previous version did not work in Chrome browser. Closes #1102
This commit is contained in:
		
							parent
							
								
									a288dd498d
								
							
						
					
					
						commit
						31005f3121
					
				@ -10,7 +10,7 @@ $(document).ready(function() {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
            return false;
 | 
					            return false;
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
        $('#time-range > option').click(function(e) {
 | 
					        $('#time-range').change(function(e) {
 | 
				
			||||||
            if($('#q').val()) {
 | 
					            if($('#q').val()) {
 | 
				
			||||||
                $('#search_form').submit();
 | 
					                $('#search_form').submit();
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user