From c69f471b25bab1ad8c9e3cba7c9c92571d028319 Mon Sep 17 00:00:00 2001 From: viveksantayana Date: Sun, 28 Aug 2022 12:19:37 +0100 Subject: [PATCH] Deleted unnecessary script --- client/src/assets/js/menu-toggle.js | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 client/src/assets/js/menu-toggle.js diff --git a/client/src/assets/js/menu-toggle.js b/client/src/assets/js/menu-toggle.js deleted file mode 100644 index e8ad1c6..0000000 --- a/client/src/assets/js/menu-toggle.js +++ /dev/null @@ -1,8 +0,0 @@ -const menuButton = document.getElementById('menu-btn') -const mobileNav = document.getElementById('mobile-nav') - -menuButton.addEventListener('click', ()=> { - menuButton.classList.toggle('menu-active') - mobileNav.classList.toggle('flex') - mobileNav.classList.toggle('hidden') -}) \ No newline at end of file