Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian McKenzie committed Nov 7, 2022
1 parent 0ec9cf8 commit 8ef5a81
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions website/docs/src/_includes/scripts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -582,10 +582,16 @@ for (const elem of topAnchors) {
}

//# Logo navigation
const maybeLogoModalBackground = document.querySelector(".logo-modal-background");
const maybeLogoModalBackground = document.querySelector(
".logo-modal-background",
);
const maybeLogoContainer = document.querySelector(".logo-container");
const maybeLogo = document.querySelector(".logo");
if (maybeLogoContainer != null && maybeLogo != null && maybeLogoModalBackground != null) {
if (
maybeLogoContainer != null &&
maybeLogo != null &&
maybeLogoModalBackground != null
) {
const logoContainer = maybeLogoContainer;
const logo = maybeLogo;
const logoModalBackground = maybeLogoModalBackground;
Expand Down

0 comments on commit 8ef5a81

Please sign in to comment.