summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-11-11 15:36:46 +0400
committerAndrew Dolgov <[email protected]>2011-11-11 15:36:46 +0400
commit0dfc968b1e07f85d433b7c5fed965643fa0261c3 (patch)
tree8876e62037d29e9beeabd17256536e5f7be83942
parenta593cb62f35cd0cee13327cff483e4bab849fce3 (diff)
esc closes article panel
-rw-r--r--tt-rss.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/tt-rss.js b/tt-rss.js
index a77165059..a64bed374 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);