blob: 900a8214f99694f2363fc622e0bfd60cac92c437 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* open original article */
Mousetrap.bind('o', () => {
$('ul.side-nav li:nth-child(2) a i')[0].click();
});
/* mark as favorite */
Mousetrap.bind('s', () => {
$('ul.side-nav li:nth-child(5) a i')[0].click();
});
/* mark as read */
Mousetrap.bind('a', () => {
$('ul.side-nav li:nth-child(4) a i')[0].click();
});
/* delete */
Mousetrap.bind('del', () => {
$('ul.side-nav li:nth-child(6) a i')[0].click();
});
|