fix/fixed navbar pop-up element shadow

This commit is contained in:
Joaquin committed 2025-05-16 11:57:53 -07:00
commit 03b0dd8fa6
5 files changed
+98 -83

No files matched your search

+7
View File
@@ -3,6 +3,13 @@ const factMenu = document.getElementById("factMenu");
const factInput = document.getElementById("factInput");
const factSubmitButton = document.getElementById("factSubmitButton");
var path = window.location.pathname;
var page = path.split("/").pop();
if(page !== "login" && page !== "signup" && page !== "forgotPassword" && page !== "") {
factButton.classList.remove("hidden");
}
factButton.addEventListener("click", () => {
factMenu.classList.toggle("hidden");
});