]> git.wh0rd.org - tt-rss.git/blobdiff - tt-rss.js
esc closes article panel
[tt-rss.git] / tt-rss.js
index a7716505951b12763f2526c2120853427fe15049..a64bed37412a9cb6c10722a065caad9805eb855f 100644 (file)
--- 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);