mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:35:56 +00:00
hotkey_handler: stop propagation of handled prefix/action events
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user