Commit bedd4a07 authored by Beatriz Rizental's avatar Beatriz Rizental
Browse files

fixup! TB 27476: Implement about:torconnect captive portal within Tor Browser

parent bb20351e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
<!-- Copyright (c) 2021, The Tor Project, Inc. -->
<!DOCTYPE html>
<!doctype html>
<html>
  <head>
    <meta
+2 −4
Original line number Diff line number Diff line
@@ -502,10 +502,8 @@ async function initPage() {
  tryAgain.hidden = false;
  const learnMoreLink = document.getElementById("learnMoreLink");
  learnMoreLink.setAttribute("href", baseURL + "connection-not-secure");
  let { pageTitleId, bodyTitle, bodyTitleId, longDesc } = await initTitleAndBodyIds(
    baseURL,
    isTRROnlyFailure
  );
  let { pageTitleId, bodyTitle, bodyTitleId, longDesc } =
    await initTitleAndBodyIds(baseURL, isTRROnlyFailure);

  // bodyTitle is set to null if it has already been set in initTitleAndBodyIds
  if (!KNOWN_ERROR_TITLE_IDS.has(bodyTitleId)) {