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

fixup! MB 1: Mullvad Browser branding

MB 244: Fix the link to Mullvad Browser Support
parent 889c419e
Branches
Tags
1 merge request!93Bug 42185: Rebased Mullvad Browser onto 115.4.0esr
......@@ -103,6 +103,12 @@ export default class MozSupportLink extends HTMLAnchorElement {
#setHref() {
let supportPage = this.getAttribute("support-page") ?? "";
// Customize the link in about:preferences.
// See mullvad-browser#244 and tor-browser#41910.
if (supportPage === "preferences") {
this.href = "https://mullvad.net/en/help/";
return;
}
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