diff options
author | Andrew Dolgov <[email protected]> | 2010-11-09 21:05:33 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-09 21:05:33 +0300 |
commit | 0129090b3de86b1bf740f1dda224598895d2d3db (patch) | |
tree | 21f4723766b754868deb852b98b099a4bdfa15bb /tt-rss.js | |
parent | 02ef7e02770b733d2e2416f9b9e021fe7ef0f64a (diff) |
cdm: add hotkey to dismiss active article
Diffstat (limited to 'tt-rss.js')
-rw-r--r-- | tt-rss.js | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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') { |