diff options
Diffstat (limited to 'core/search/js/search.js')
-rw-r--r-- | core/search/js/search.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/search/js/search.js b/core/search/js/search.js index 4e83a070170..92cf034cf7d 100644 --- a/core/search/js/search.js +++ b/core/search/js/search.js @@ -343,6 +343,13 @@ } }); + $(document).keydown(function(event) { + if ((event.ctrlKey || event.metaKey) && !event.shiftKey && event.keyCode === 70) { // Ctrl+F + $searchBox.focus(); + event.preventDefault(); + } + }); + $searchResults.on('click', 'tr.result', function (event) { var $row = $(this); var item = $row.data('result'); |