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

fixup! Bug 2176: Rebrand Firefox to TorBrowser

Bug 42583: Move moz-support-link change out of the branding commit.
parent d83e33cb
Branches
No related tags found
1 merge request!1043Bug 42616: Rebased alpha onto Firefox 128.0b1
......@@ -134,19 +134,6 @@ export default class MozSupportLink extends HTMLAnchorElement {
return;
}
let supportPage = this.getAttribute("support-page") ?? "";
// For tor-browser we sometimes want to override firefox support links with
// our own.
// See tor-browser#40899.
switch (supportPage) {
case "preferences":
// Shown twice in preferences, both as `{ -brand-short-name } Support`.
// Instead of directing to support for preferences, we link to general
// tor browser support.
// See tor-browser#32092.
this.href = "https://support.torproject.org/tbb"
return;
// Fall through to support.mozilla.org
}
let base = MozSupportLink.SUPPORT_URL + supportPage;
this.href = this.hasAttribute("utm-content")
? formatUTMParams(this.getAttribute("utm-content"), base)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment