diff --git a/app.js b/app.js index 01a61c4..f8a6432 100644 --- a/app.js +++ b/app.js @@ -10,20 +10,6 @@ hamburger.addEventListener("click", () => { }); }); -anchor.addEventListener("click", () => { - anchor.classList.toggle("open"); - }); - -// links.addEventListener("click", () => { -// links.forEach(link => { -// link.classList.toggle("close"); -// }); -// }); - -// $('.hamburger').on('click', function () { -// $('.nav-links').addClass('open'); -// }); - -// $( '.nav-links a' ).on("click", function(){ -// $('.nav-links').removeClass('open'); -// }); \ No newline at end of file +$( '.nav-links li a' ).on("click", function(){ + $('#hamburgerID').click(); +});