Skip to content
Snippets Groups Projects
Verified Commit 39f0140f 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 802b9689
1 merge request!694Bug 41796: Rebased on top of FIREFOX_ESR_115_BASE
......@@ -220,10 +220,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