aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Resources/static/themes/material
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-11-18 19:21:31 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-11-19 20:05:16 +0100
commit995c204428dd6be04d2bff1d5e17f3e95268f44d (patch)
tree1ac2c526e54ddaf1678184f93d4e10a7a015349c /app/Resources/static/themes/material
parent32f455c1317bf536aea63147d2c5074ae7425d42 (diff)
downloadwallabag-995c204428dd6be04d2bff1d5e17f3e95268f44d.tar.gz
wallabag-995c204428dd6be04d2bff1d5e17f3e95268f44d.tar.zst
wallabag-995c204428dd6be04d2bff1d5e17f3e95268f44d.zip
Added shortcut
Diffstat (limited to 'app/Resources/static/themes/material')
-rw-r--r--app/Resources/static/themes/material/js/shortcuts/main.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/Resources/static/themes/material/js/shortcuts/main.js b/app/Resources/static/themes/material/js/shortcuts/main.js
index 8514f71e..ad4ca80a 100644
--- a/app/Resources/static/themes/material/js/shortcuts/main.js
+++ b/app/Resources/static/themes/material/js/shortcuts/main.js
@@ -30,6 +30,12 @@ $(document).ready(() => {
30 /* Actions */ 30 /* Actions */
31 Mousetrap.bind('g n', () => { 31 Mousetrap.bind('g n', () => {
32 $('#nav-btn-add').trigger('click'); 32 $('#nav-btn-add').trigger('click');
33 return false;
34 });
35
36 Mousetrap.bind('s', () => {
37 $('#nav-btn-search').trigger('click');
38 return false;
33 }); 39 });
34 40
35 Mousetrap.bind('esc', () => { 41 Mousetrap.bind('esc', () => {