fix navbar dropdown menu

This commit is contained in:
samaradel
2024-01-01 15:52:53 +02:00
parent 6f62b4f9e1
commit 12c048a340
4 changed files with 16 additions and 53 deletions

View File

@@ -96,11 +96,9 @@ function hideMenu(menuName) {
"rotate-0",
"-rotate-90"
);
setTimeout(function () {
if (!menuElement.classList.contains("hidden")) {
menuElement.classList.add("hidden");
}
}, 300);
if (!menuElement.classList.contains("hidden")) {
menuElement.classList.add("hidden");
}
}
function showHamburger() {