mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Added keyboard shortcuts
This commit is contained in:
parent
98a237b5ad
commit
a7d99a7f78
@ -287,16 +287,6 @@
|
||||
$('#search').focusin(onSearchFocus);
|
||||
$('#search').blur(onSearchBlur);
|
||||
|
||||
/*
|
||||
$(document).keypress(function (event) {
|
||||
console.log(event);
|
||||
if (event.which == 47 && !$('*:focus').length) {
|
||||
event.preventDefault();
|
||||
$('#search').focus();
|
||||
}
|
||||
});
|
||||
*/
|
||||
|
||||
Mousetrap.bind('?', function(e) {
|
||||
console.log('heree');
|
||||
$('#helpModal').modal('show');
|
||||
|
Loading…
Reference in New Issue
Block a user