Merge pull request #6 from fybx/dev

This commit is contained in:
Ferit Yiğit BALABAN authored and GitHub committed 2022-07-26 01:54:32 +03:00 Unverified
commit 1b9a2550b2
12 files changed
+219 -122

No files matched your search

+3
View File
@@ -47,10 +47,13 @@ function hideNavitems() {
async function toggleDropdown() {
if (dropdown.classList.contains('hidden')) {
showDropdown();
await sleep(550);
document.getElementById("container").style.display = "none";
await sleep(200);
showNavitems();
}
else {
document.getElementById("container").style.display = "grid";
dropdown.classList.add('dropdown_close_animation');
await sleep(550);
dropdown.classList.remove('dropdown_close_animation');