diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-11-16 09:17:12 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-11-16 09:17:12 +0100 |
commit | 94f2057ffefdb164ae388a6971b4ed052082a434 (patch) | |
tree | 2bc79fda2ca07baf246a36543fd4419a7af7a7a8 /app/Resources/static/themes/baggy | |
parent | 10a1ffae5313b0f77287b92aca93bb0066d3b1e3 (diff) | |
download | wallabag-94f2057ffefdb164ae388a6971b4ed052082a434.tar.gz wallabag-94f2057ffefdb164ae388a6971b4ed052082a434.tar.zst wallabag-94f2057ffefdb164ae388a6971b4ed052082a434.zip |
Added CSS class on links
Diffstat (limited to 'app/Resources/static/themes/baggy')
-rw-r--r-- | app/Resources/static/themes/baggy/js/shortcuts/entry.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Resources/static/themes/baggy/js/shortcuts/entry.js b/app/Resources/static/themes/baggy/js/shortcuts/entry.js index 77d267a3..728df8bd 100644 --- a/app/Resources/static/themes/baggy/js/shortcuts/entry.js +++ b/app/Resources/static/themes/baggy/js/shortcuts/entry.js | |||
@@ -3,20 +3,20 @@ import $ from 'jquery'; | |||
3 | 3 | ||
4 | /* Article view */ | 4 | /* Article view */ |
5 | Mousetrap.bind('o', () => { | 5 | Mousetrap.bind('o', () => { |
6 | $('div#article_toolbar ul.links li:nth-child(2) a')[0].click(); | 6 | $('div#article_toolbar ul.links a.original')[0].click(); |
7 | }); | 7 | }); |
8 | 8 | ||
9 | /* mark as favorite */ | 9 | /* mark as favorite */ |
10 | Mousetrap.bind('s', () => { | 10 | Mousetrap.bind('s', () => { |
11 | $('div#article_toolbar ul.links li:nth-child(5) a')[0].click(); | 11 | $('div#article_toolbar ul.links a.favorite')[0].click(); |
12 | }); | 12 | }); |
13 | 13 | ||
14 | /* mark as read */ | 14 | /* mark as read */ |
15 | Mousetrap.bind('a', () => { | 15 | Mousetrap.bind('a', () => { |
16 | $('div#article_toolbar ul.links li:nth-child(4) a')[0].click(); | 16 | $('div#article_toolbar ul.links a.markasread')[0].click(); |
17 | }); | 17 | }); |
18 | 18 | ||
19 | /* delete */ | 19 | /* delete */ |
20 | Mousetrap.bind('del', () => { | 20 | Mousetrap.bind('del', () => { |
21 | $('div#article_toolbar ul.links li:nth-child(7) a')[0].click(); | 21 | $('div#article_toolbar ul.links a.delete')[0].click(); |
22 | }); | 22 | }); |