From 0129090b3de86b1bf740f1dda224598895d2d3db Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 9 Nov 2010 21:05:33 +0300 Subject: [PATCH] cdm: add hotkey to dismiss active article --- help/3.php | 1 + tt-rss.js | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/help/3.php b/help/3.php index 52aabc88f..3b65147c5 100644 --- a/help/3.php +++ b/help/3.php @@ -17,6 +17,7 @@ S u T + D o c n/c p N/P diff --git a/tt-rss.js b/tt-rss.js index 63518c154..27d499304 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -1005,6 +1005,11 @@ function hotkey_handler(e) { return; } + if (keycode == 68 && shift_key) { // shift-D + if (isCdmMode() && active_post_id) { + cdmDismissArticle(active_post_id); + } + } if (keycode == 78 || keycode == 40) { // n, down if (typeof moveToPost != 'undefined') {