summaryrefslogtreecommitdiff
path: root/js/tt-rss.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r--js/tt-rss.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js
index fe53f2ea2..9dbf6ef50 100644
--- a/js/tt-rss.js
+++ b/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;