diff options
Diffstat (limited to 'app/Resources/static/themes/baggy/js/shortcuts')
-rw-r--r-- | app/Resources/static/themes/baggy/js/shortcuts/main.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Resources/static/themes/baggy/js/shortcuts/main.js b/app/Resources/static/themes/baggy/js/shortcuts/main.js index aed09aee..43ebf3be 100644 --- a/app/Resources/static/themes/baggy/js/shortcuts/main.js +++ b/app/Resources/static/themes/baggy/js/shortcuts/main.js | |||
@@ -1,3 +1,6 @@ | |||
1 | import $ from 'jquery'; | ||
2 | import Mousetrap from 'mousetrap'; | ||
3 | |||
1 | $(document).ready(() => { | 4 | $(document).ready(() => { |
2 | Mousetrap.bind('s', () => { | 5 | Mousetrap.bind('s', () => { |
3 | $('#search').trigger('click'); | 6 | $('#search').trigger('click'); |