mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 06:34:29 -04:00
Focus the search input if the user clicks forward slash
This commit is contained in:
parent
35d905f4f4
commit
0e2bf3bb88
@ -351,6 +351,13 @@
|
||||
});
|
||||
@endif
|
||||
|
||||
// Focus the search input if the user clicks forward slash
|
||||
$('body').keypress(function(event) {
|
||||
if (event.which == 47) {
|
||||
showSearch();
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user