Skip to content

Commit

Permalink
Fix javascript linters errors with --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jlcarrascof committed Apr 18, 2023
1 parent 34fc6e1 commit 9f018ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ hamburger.addEventListener('click', () => {
navBar.classList.toggle('active');
});

document.querySelectorAll('.nav-link').forEach(n => n.addEventListener('click', () => {
document.querySelectorAll('.nav-link').forEach((n) => n.addEventListener('click', () => {
hamburger.classList.remove('active');
navMenu.classList.remove('active');
navBar.classList.remove('active');
Expand Down

0 comments on commit 9f018ef

Please sign in to comment.