1
0
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:
Hillel Coren 2016-12-06 23:39:37 +02:00
parent 98a237b5ad
commit a7d99a7f78

View File

@ -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');