1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 16:45:55 +00:00

add hotkeys to select marked/published articles

This commit is contained in:
Andrew Dolgov
2012-10-08 14:32:17 +04:00
parent 441a89d3c5
commit 5482b38807
3 changed files with 35 additions and 2 deletions

View File

@@ -839,11 +839,21 @@ function hotkey_handler(e) {
return;
}
if (keycode == 85) { // u
if (keycode == 85 && !shift_key) { // u
selectArticles('unread');
return;
}
if (keycode == 80) { // p
selectArticles('published');
return;
}
if (keycode == 85 && shift_key) { // u
selectArticles('marked');
return;
}
if (keycode == 73) { // i
selectArticles('invert');
return;