From 5482b38807459eaf9e04060f6e42f63ef08d1d97 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 8 Oct 2012 14:32:17 +0400 Subject: add hotkeys to select marked/published articles --- js/tt-rss.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'js/tt-rss.js') 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; -- cgit v1.2.3