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

fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in...

fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in about:preferences#connection

Bug 42803: Force focus ring to show for built-in bridge radio options.
parent 1b850d9a
Branches
Tags
1 merge request!1222Bug 43166: Rebased alpha onto 128.3.0esr
......@@ -114,6 +114,16 @@ const gBuiltinBridgeDialog = {
},
};
// Initial focus is not visible, even if opened with a keyboard. We avoid the
// default handler and manage the focus ourselves, which will paint the focus
// ring by default.
// NOTE: A side effect is that the focus ring will show even if the user opened
// with a mouse event.
// TODO: Remove this once bugzilla bug 1708261 is resolved.
document.subDialogSetDefaultFocus = () => {
document.getElementById("torPreferences-builtinBridge-typeSelection").focus();
};
window.addEventListener(
"DOMContentLoaded",
() => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment