Verified Commit 8f961535 authored by Beatriz Rizental's avatar Beatriz Rizental Committed by Pier Angelo Vendrame
Browse files

fixup! MB 112: Updater customization for Mullvad Browser

parent 11c36b99
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -881,11 +881,17 @@ nsBrowserContentHandler.prototype = {
              // the post-update "override page" directly, we include a link in
              // about:mullvad-browser.
              prefb.setCharPref("mullvadbrowser.post_update.url", overridePage);
              prefb.setBoolPref("mullvadbrowser.post_update.shouldNotify", true);
              prefb.setBoolPref(
                "mullvadbrowser.post_update.shouldNotify",
                true
              );
              // If the user's homepage is about:tor, we will inform them
              // about the update on that page; otherwise, we arrange to
              // open about:tor in a secondary tab.
              overridePage = startPage === "about:mullvad-browser" ? "" : "about:mullvad-browser";
              overridePage =
                startPage === "about:mullvad-browser"
                  ? ""
                  : "about:mullvad-browser";
            }
            break;
          }