]> git.immae.eu Git - github/wallabag/wallabag.git/blame - app/Resources/static/themes/baggy/js/shortcuts/main.js
Adds Webpack support and removes the use for Grunt
[github/wallabag/wallabag.git] / app / Resources / static / themes / baggy / js / shortcuts / main.js
CommitLineData
64f81bc3
TC
1import $ from 'jquery';
2import Mousetrap from 'mousetrap';
3
995c2044
NL
4$(document).ready(() => {
5 Mousetrap.bind('s', () => {
6 $('#search').trigger('click');
7 $('#search_entry_term').focus();
8 return false;
9 });
10});