Commit 5d0fb1fe authored by brizental's avatar brizental Committed by Pier Angelo Vendrame
Browse files

fixup! TB 7494: Create local home page for TBB.

parent b54207b8
Loading
Loading
Loading
Loading
+3 −2
Changes for browser/components/abouttor/content/aboutTor.js: 3 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -298,10 +298,11 @@ const SurveyArea = {
   */
  init() {
    document.getElementById("survey-launch").addEventListener("click", () => {
      if (!this._localeData) {
      const url = URL.parse(this._urlBase);
      if (!url || !this._localeData) {
        return;
      }
      const url = new URL(this._urlBase);

      url.searchParams.append("lang", this._localeData.urlCode);
      open(url.href);
    });