From fe66e229d7445e67d1f8efe8042b92d6af26f66f Mon Sep 17 00:00:00 2001 From: Chris Chernesky Date: Mon, 18 Jul 2011 12:24:41 -0400 Subject: [PATCH] adding an email article hotkey 'e' --- help/3.php | 1 + tt-rss.js | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/help/3.php b/help/3.php index 7e2f1dee..45143dce 100644 --- a/help/3.php +++ b/help/3.php @@ -22,6 +22,7 @@ o c n/c p N/P + e diff --git a/tt-rss.js b/tt-rss.js index 1d8d3add..d613b7d4 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -680,6 +680,11 @@ function hotkey_handler(e) { if (!hotkey_prefix) { + if (keycode == 69) { // e + var id = getActiveArticleId(); + emailArticle(id); + } + if ((keycode == 191 || keychar == '?') && shift_key) { // ? if (!Element.visible("hotkey_help_overlay")) { Effect.Appear("hotkey_help_overlay", {duration : 0.3}); -- 2.39.5