Better keyboard handling and show score on results
This commit is contained in:
		
							parent
							
								
									951b0cbab8
								
							
						
					
					
						commit
						55a2c54ab6
					
				
					 3 changed files with 13 additions and 3 deletions
				
			
		|  | @ -91,6 +91,11 @@ angular.module('quay').directive('headerBar', function () { | |||
|       }; | ||||
| 
 | ||||
|       $scope.handleSearchKeyDown = function(e) { | ||||
|         if (e.keyCode == 27) { | ||||
|           $scope.toggleSearch(); | ||||
|           return; | ||||
|         } | ||||
| 
 | ||||
|         if (!$scope.searchResultState) { return; } | ||||
| 
 | ||||
|         if (e.keyCode == 40) { | ||||
|  |  | |||
		Reference in a new issue