1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-22 11:36:38 +02:00

hotkey_handler: stop propagation of handled prefix/action events

This commit is contained in:
Andrew Dolgov 2017-05-05 10:01:33 +03:00
parent 40f4a7aa6b
commit 0a79531696

View 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;
}
}