Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Pond authored and Ryan Pond committed Feb 17, 2024
1 parent 455d0e6 commit 4be8baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const toggleuserInfoModal = () => {

contactButton.addEventListener('click', toggleuserInfoModal)
document.addEventListener('click', (event) => {
const userInfoModalElement = document.querySelector('#userInfouserInfoModal')
const userInfoModalElement = document.querySelector('#userInfoModal')
if (!userInfoModalElement.contains(event.target) && userInfoModalIsOpen) {
// Do nothing, prevent closing due to outside click
}
Expand Down

0 comments on commit 4be8baa

Please sign in to comment.