From: Andrew Dolgov Date: Fri, 5 May 2017 07:01:33 +0000 (+0300) Subject: hotkey_handler: stop propagation of handled prefix/action events X-Git-Tag: 17.12~198 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=0a795316963c72428632c517721ce162d27309c5;p=tt-rss.git hotkey_handler: stop propagation of handled prefix/action events --- 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; } }