1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-16 18:01:38 +00:00

Added shortcut

This commit is contained in:
Nicolas Lœuillet 2016-11-18 19:21:31 +01:00
parent 32f455c131
commit 995c204428
7 changed files with 19 additions and 5 deletions

View file

@ -30,6 +30,12 @@ $(document).ready(() => {
/* Actions */
Mousetrap.bind('g n', () => {
$('#nav-btn-add').trigger('click');
return false;
});
Mousetrap.bind('s', () => {
$('#nav-btn-search').trigger('click');
return false;
});
Mousetrap.bind('esc', () => {