Commit ce795172 authored by Matthew Finkel's avatar Matthew Finkel
Browse files

Bug 30783 - Use EOY URL for bottom link

parent 9ea41dcd
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -141,6 +141,10 @@ var AboutTorListener = {
    content.document
      .getElementById(ey2019_elem_id)
      .setAttribute("href", ey2019_locale_url);

    content.document
      .getElementById(ey2019_elem_id + "_bottom")
      .setAttribute("href", ey2019_locale_url);
  }
};

+2 −1
Original line number Diff line number Diff line
@@ -91,7 +91,8 @@ window.addEventListener("pageshow", function() {

    <div id="bottom">
      <p id="donate" class="moreInfoLink">&aboutTor.donationBanner.line2e;
        <a href="https://donate.torproject.org/">&aboutTor.donationBanner.buttonA; &#187;</a>
        <a id="ey2019_donate_bottom" href="https://www.torproject.org/donate/donate-tbi-default">&aboutTor.donationBanner.buttonA;</a>
        <a id="ey2019_donate_mobile_bottom" href="https://www.torproject.org/donate/donate-tbi-mobile-default">&aboutTor.donationBanner.buttonA;</a>
      </p>
      <p id="manual" class="showForManual moreInfoLink">&aboutTor.torbrowser_user_manual_questions.label;
        <a id="manualLink" target="_blank">&aboutTor.torbrowser_user_manual_link.label;</a></p>
+4 −2
Original line number Diff line number Diff line
@@ -447,10 +447,12 @@ body[ey2019] .hideIfEY2019 {
  display: none;
}

body:not([mobile]) #ey2019_donate_mobile {
body:not([mobile]) #ey2019_donate_mobile,
body:not([mobile]) #ey2019_donate_mobile_bottom {
  display: none;
}

body[mobile] #ey2019_donate {
body[mobile] #ey2019_donate,
body[mobile] #ey2019_donate_bottom {
  display: none;
}