summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-05-05 10:01:33 +0300
committerAndrew Dolgov <[email protected]>2017-05-05 10:01:33 +0300
commit0a795316963c72428632c517721ce162d27309c5 (patch)
tree24621f1b35ee66227e691bec32515f9eca017f06 /js
parent40f4a7aa6b96fe2a40731c63a00fbfdf0b6e3023 (diff)
hotkey_handler: stop propagation of handled prefix/action events
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 244bbd8ed..afbc775f2 100644
--- a/js/tt-rss.js
+++ b/js/tt-rss.js
@@ -893,7 +893,8 @@ function hotkey_handler(e) {
cmdline.innerHTML = keychar;
Element.show(cmdline);
- return true;
+ e.stopPropagation();
+ return false;
}
Element.hide(cmdline);
@@ -923,6 +924,7 @@ function hotkey_handler(e) {
if (action != null) {
action();
+ e.stopPropagation();
return false;
}
}