Skip to content

Commit

Permalink
Update carousel.js to highlight first slide button after first slide …
Browse files Browse the repository at this point in the history
…link
  • Loading branch information
arnayv-47 authored Oct 25, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 5fc1eef commit 5ae86a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/js/carousel.js
Original file line number Diff line number Diff line change
@@ -150,6 +150,7 @@ circleStore.forEach(circle => {

//Handle Tab feature on initialize carousel button
let missionButton = document.querySelector('#mission-button');
let firstCircleButton = document.querySelector('.circle-container .circle:nth-child(1)');

//Handle event in case of tab and focus shifts
missionButton.addEventListener('keydown', function(event) {

0 comments on commit 5ae86a1

Please sign in to comment.