Update main.js
This commit is contained in:
parent
1a8c54430e
commit
782c3bd8ba
@ -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");
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user