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 62d00b3 commit f874449
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions c3_hw2/js/gallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ function setupListeners() {
for (let lostFocusEventName of ['mouseout', 'blur']) {
image.addEventListener(lostFocusEventName, () => unDo(lostFocusEventName, image));
}
image.setAttribute("tabIndex", "1");
image.setAttribute("tabIndex", "2");
}
const image = document.getElementById('image');
image.setAttribute("tabIndex", "0");
image.setAttribute("tabIndex", "1");
}

0 comments on commit f874449

Please sign in to comment.