From 0a795316963c72428632c517721ce162d27309c5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 5 May 2017 10:01:33 +0300 Subject: [PATCH 1/1] hotkey_handler: stop propagation of handled prefix/action events --- js/tt-rss.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/tt-rss.js b/js/tt-rss.js index 244bbd8e..afbc775f 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; } } -- 2.39.2