summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-05-05 11:33:43 +0300
committerAndrew Dolgov <[email protected]>2017-05-05 11:33:43 +0300
commit0ae7de6d91a5a0bfbb6a41e8aa2c425f2b38fedb (patch)
tree0a6335a5d7a098b205c061697c490aa8a8437cd8 /js
parentfa1be041c267ebeca9631c9eddaf5dd07a0604d4 (diff)
hotkey_handler: return true on prefix handled
Diffstat (limited to 'js')
-rw-r--r--js/tt-rss.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js
index afbc775f2..4830fd43e 100644
--- a/js/tt-rss.js
+++ b/js/tt-rss.js
@@ -894,7 +894,9 @@ function hotkey_handler(e) {
Element.show(cmdline);
e.stopPropagation();
- return false;
+
+ // returning false here literally disables ctrl-c in browser lol (because C is a valid prefix)
+ return true;
}
Element.hide(cmdline);