]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/Resources/static/themes/baggy/js/shortcuts/main.js
Added shortcut
[github/wallabag/wallabag.git] / app / Resources / static / themes / baggy / js / shortcuts / main.js
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..aed09aeeec943c4a1f1017a1f66dbede0c8537aa 100644 (file)
@@ -0,0 +1,7 @@
+$(document).ready(() => {
+  Mousetrap.bind('s', () => {
+    $('#search').trigger('click');
+    $('#search_entry_term').focus();
+    return false;
+  });
+});