mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 08:04:40 -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
|
@endif
|
||||||
|
|
||||||
|
// Focus the search input if the user clicks forward slash
|
||||||
|
$('body').keypress(function(event) {
|
||||||
|
if (event.which == 47) {
|
||||||
|
showSearch();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user