]>
git.immae.eu Git - github/wallabag/wallabag.git/blob - app/Resources/static/themes/material/js/shortcuts/entry.js
2dcc93d7d8d14bf04f87e62855790e8e7730ef24
1 import Mousetrap
from 'mousetrap';
2 import $ from 'jquery';
4 /* open original article */
5 Mousetrap
.bind('o', () => {
6 $('ul.side-nav a.original i')[0].click();
10 Mousetrap
.bind('f', () => {
11 $('ul.side-nav a.favorite i')[0].click();
15 Mousetrap
.bind('a', () => {
16 $('ul.side-nav a.markasread i')[0].click();
20 Mousetrap
.bind('del', () => {
21 $('ul.side-nav a.delete i')[0].click();