From: Chris Chernesky Date: Mon, 18 Jul 2011 16:24:41 +0000 (-0400) Subject: adding an email article hotkey 'e' X-Git-Tag: 1.5.6~76^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=fe66e229d7445e67d1f8efe8042b92d6af26f66f;p=tt-rss.git adding an email article hotkey 'e' --- 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});