Loading toolkit/content/widgets/moz-support-link/moz-support-link.mjs +0 −13 Original line number Diff line number Diff line Loading @@ -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) Loading Loading
toolkit/content/widgets/moz-support-link/moz-support-link.mjs +0 −13 Original line number Diff line number Diff line Loading @@ -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) Loading