]> git.immae.eu Git - github/wallabag/wallabag.git/blame - app/Resources/static/themes/material/js/shortcuts/entry.js
Reorganized JS folders for shortcuts
[github/wallabag/wallabag.git] / app / Resources / static / themes / material / js / shortcuts / entry.js
CommitLineData
16ef7607
NL
1/* open original article */
2Mousetrap.bind('o', () => {
3 $('ul.side-nav li:nth-child(2) a i')[0].click();
4});
5
6/* mark as favorite */
7Mousetrap.bind('s', () => {
8 $('ul.side-nav li:nth-child(5) a i')[0].click();
9});
10
11/* mark as read */
12Mousetrap.bind('a', () => {
13 $('ul.side-nav li:nth-child(4) a i')[0].click();
14});
15
16/* delete */
17Mousetrap.bind('del', () => {
18 $('ul.side-nav li:nth-child(6) a i')[0].click();
19});