diff --git a/resources/views/header.blade.php b/resources/views/header.blade.php index a007d34328df..5f4f1d1ceaa6 100644 --- a/resources/views/header.blade.php +++ b/resources/views/header.blade.php @@ -351,6 +351,13 @@ }); @endif + // Focus the search input if the user clicks forward slash + $('body').keypress(function(event) { + if (event.which == 47) { + showSearch(); + } + }); + });