diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2020-04-14 16:01:14 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2020-04-14 16:01:14 +0200 |
commit | 39676caf83a3d85203a769295d65c8ce32953883 (patch) | |
tree | 1c98d8fdcdf8aa6941a21290bcbe883132ea891f /app/Resources/static/themes/baggy/js/shortcuts/entry.js | |
parent | 2b21cc8869c9a6cbcc14a10aa6f39a10c3b8c4a0 (diff) | |
download | wallabag-remove-baggy.tar.gz wallabag-remove-baggy.tar.zst wallabag-remove-baggy.zip |
Removed old, not so maintained and buggy baggy themeremove-baggy
Diffstat (limited to 'app/Resources/static/themes/baggy/js/shortcuts/entry.js')
-rw-r--r-- | app/Resources/static/themes/baggy/js/shortcuts/entry.js | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/app/Resources/static/themes/baggy/js/shortcuts/entry.js b/app/Resources/static/themes/baggy/js/shortcuts/entry.js deleted file mode 100644 index c87408b9..00000000 --- a/app/Resources/static/themes/baggy/js/shortcuts/entry.js +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | import Mousetrap from 'mousetrap'; | ||
2 | import $ from 'jquery'; | ||
3 | |||
4 | $(document).ready(() => { | ||
5 | if ($('#article').length > 0) { | ||
6 | /* Article view */ | ||
7 | Mousetrap.bind('o', () => { | ||
8 | $('div#article_toolbar ul.links a.original')[0].click(); | ||
9 | }); | ||
10 | |||
11 | /* mark as favorite */ | ||
12 | Mousetrap.bind('f', () => { | ||
13 | $('div#article_toolbar ul.links a.favorite')[0].click(); | ||
14 | }); | ||
15 | |||
16 | /* mark as read */ | ||
17 | Mousetrap.bind('a', () => { | ||
18 | $('div#article_toolbar ul.links a.markasread')[0].click(); | ||
19 | }); | ||
20 | |||
21 | /* delete */ | ||
22 | Mousetrap.bind('del', () => { | ||
23 | $('div#article_toolbar ul.links a.delete')[0].click(); | ||
24 | }); | ||
25 | } | ||
26 | }); | ||