Skip to content
Snippets Groups Projects
Verified Commit b4440a38 authored by henry's avatar henry Committed by Pier Angelo Vendrame
Browse files

fixup! Bug 41600: Add a tor circuit display panel.

Bug 41770 - Stop blocking event propagation of keydown events that we do
not handle. This lets the arrow key events pass on to
ToolbarKeyboardNavigator.
parent 15b45091
Branches
Tags
1 merge request!653Bug 41795: Rebased alpha to 102.12
......@@ -221,10 +221,10 @@ var gTorCircuitPanel = {
// rather than a <html:button>, or <xul:toolbarbutton>, so we need to set up
// listeners for both "click" and "keydown", and not for "command".
this.toolbarButton.addEventListener("keydown", event => {
event.stopPropagation();
if (event.key !== "Enter" && event.key !== " ") {
return;
}
event.stopPropagation();
this.show();
});
this.toolbarButton.addEventListener("click", event => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment