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:
12
js/tt-rss.js
12
js/tt-rss.js
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user