From: Andrew Dolgov Date: Fri, 11 Nov 2011 11:36:46 +0000 (+0400) Subject: esc closes article panel X-Git-Tag: 1.5.7~15 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=0dfc968b1e07f85d433b7c5fed965643fa0261c3;p=tt-rss.git esc closes article panel --- diff --git a/tt-rss.js b/tt-rss.js index a7716505..a64bed37 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -683,6 +683,11 @@ function hotkey_handler(e) { if (!hotkey_prefix) { + if (keycode == 27) { // escape + closeArticlePanel(); + return; + } + if (keycode == 69) { // e var id = getActiveArticleId(); emailArticle(id);