Skip to content

Commit

Permalink
Accebility Function
Browse files Browse the repository at this point in the history
  • Loading branch information
th3alexdev committed Jan 1, 2022
1 parent d29e966 commit 6cab866
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@

if(click == true){
toggleIcon.classList.toggle('fa-times', 'fa-bars')
button.setAttribute('aria-label', "Close Menu")

} else{
toggleIcon.classList.remove('fa-times')
button.setAttribute('aria-label', 'Open Menu')
}
})

Expand Down

0 comments on commit 6cab866

Please sign in to comment.