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