wallabag/app/Resources/static/themes/baggy/js/shortcuts/main.js
Nicolas Lœuillet 995c204428 Added shortcut
2016-11-19 20:05:16 +01:00

8 lines
156 B
JavaScript

$(document).ready(() => {
Mousetrap.bind('s', () => {
$('#search').trigger('click');
$('#search_entry_term').focus();
return false;
});
});