]> git.wh0rd.org - tt-rss.git/blobdiff - js/tt-rss.js
hotkey_handler: stop propagation of handled prefix/action events
[tt-rss.git] / js / tt-rss.js
index 244bbd8ed1530fcc314f143053f4cd02eb57a9d0..afbc775f21311cef7384df598e41e2e46f7b5c13 100644 (file)
@@ -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;
        }
 }