Update main.js

This commit is contained in:
Zak Kermitz 2023-09-21 14:33:15 -04:00 committed by GitHub
parent 1a8c54430e
commit 782c3bd8ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -385,7 +385,7 @@ function switchState(event) {
const overlayElem = document.getElementById(overlayBtnClicked);
const title = document.getElementById("title");
if (title.classList.contains("info-title") && overlayBtnClicked !== "info-overlay") {
if (title.classList.contains("info-title")) {
title.classList.remove("info-title");
}