1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-21 07:51:29 +00:00

cdm: add hotkey to dismiss active article

This commit is contained in:
Andrew Dolgov
2010-11-09 21:05:33 +03:00
parent 02ef7e0277
commit 0129090b3d
2 changed files with 6 additions and 0 deletions

View File

@@ -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') {