[tbb-commits] [Git][tpo/applications/tor-browser][tor-browser-102.11.0esr-12.5-1] fixup! Bug 41600: Add a tor circuit display panel.

Richard Pospesel (@richard) git at gitlab.torproject.org
Tue May 9 20:28:51 UTC 2023



Richard Pospesel pushed to branch tor-browser-102.11.0esr-12.5-1 at The Tor Project / Applications / Tor Browser


Commits:
9f9de549 by Henry Wilkes at 2023-05-09T14:54:55+01:00
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.

- - - - -


1 changed file:

- browser/components/torcircuit/content/torCircuitPanel.js


Changes:

=====================================
browser/components/torcircuit/content/torCircuitPanel.js
=====================================
@@ -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 => {



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/9f9de5495552a0ea66e1b250040ce9e67ddd0eac

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/9f9de5495552a0ea66e1b250040ce9e67ddd0eac
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20230509/9fa9313d/attachment.htm>


More information about the tbb-commits mailing list