]>
Commit | Line | Data |
---|---|---|
1 | /* Article view */ | |
2 | Mousetrap.bind('o', () => { | |
3 | $('div#article_toolbar ul.links li:nth-child(2) a')[0].click(); | |
4 | }); | |
5 | ||
6 | /* mark as favorite */ | |
7 | Mousetrap.bind('s', () => { | |
8 | $('div#article_toolbar ul.links li:nth-child(5) a')[0].click(); | |
9 | }); | |
10 | ||
11 | /* mark as read */ | |
12 | Mousetrap.bind('a', () => { | |
13 | $('div#article_toolbar ul.links li:nth-child(4) a')[0].click(); | |
14 | }); | |
15 | ||
16 | /* delete */ | |
17 | Mousetrap.bind('del', () => { | |
18 | $('div#article_toolbar ul.links li:nth-child(7) a')[0].click(); | |
19 | }); |