mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	minor JS fix
This commit is contained in:
		
							
								
								
									
										18
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								README.md
									
									
									
									
									
								
							@@ -9,19 +9,19 @@ Gogs - Go Git Service [ {
 | 
				
			|||||||
    hideWhenLostFocus('#search-user-box .results', '#search-user-box');
 | 
					    hideWhenLostFocus('#search-user-box .results', '#search-user-box');
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// FIXME: merge common parts in two functions
 | 
				
			||||||
function searchRepositories() {
 | 
					function searchRepositories() {
 | 
				
			||||||
    if (!$('#search-repo-box .results').length) {
 | 
					    if (!$('#search-repo-box .results').length) {
 | 
				
			||||||
        return;
 | 
					        return;
 | 
				
			||||||
@@ -671,6 +672,7 @@ function searchRepositories() {
 | 
				
			|||||||
    $search_repo_box.find('input').focus(function () {
 | 
					    $search_repo_box.find('input').focus(function () {
 | 
				
			||||||
        $search_repo_box.keyup();
 | 
					        $search_repo_box.keyup();
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					    hideWhenLostFocus('#search-repo-box .results', '#search-repo-box');
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$(document).ready(function () {
 | 
					$(document).ready(function () {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user