Skip to content
Snippets Groups Projects
Verified Commit 6ed4a3c6 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

fixup! Bug 27476: Implement about:torconnect captive portal within Tor Browser

Bug 41816: Workaround to fix the top navigation

Using the top navigation does not always work as expected, because we
pass a null connection state, instead of the actual state.
We could start storing the state as a member, however further refactors
are planned (see #41710), so also directly asking the parent
for the current state works as a quick&dirty workaround.
parent f4d9efee
No related branches found
No related tags found
1 merge request!670Bug 41816: Workaround to fix the top navigation
...@@ -450,7 +450,7 @@ class AboutTorConnect { ...@@ -450,7 +450,7 @@ class AboutTorConnect {
if (state?.StateChanged) { if (state?.StateChanged) {
this.elements.connectButton.focus(); this.elements.connectButton.focus();
} }
if (state.HasEverFailed) { if (state?.HasEverFailed) {
this.setBreadcrumbsStatus( this.setBreadcrumbsStatus(
BreadcrumbStatus.Active, BreadcrumbStatus.Active,
BreadcrumbStatus.Default, BreadcrumbStatus.Default,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment