Skip to content

Commit

Permalink
Update gallery.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mygithubid1 authored Feb 3, 2024
1 parent 51de7ff commit b165d36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c3_hw2/js/gallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ function setupListeners() {
image.setAttribute("tabindex", `${index + 1}`);
}
const imageDiv = document.getElementById('image');
imageDiv.setAttribute("tabindex", `${images.length}`);
imageDiv.setAttribute("tabindex", `${images.length + 1}`);
}

0 comments on commit b165d36

Please sign in to comment.