mirror of
https://github.com/tchartron/blow
synced 2024-11-23 21:03:16 +00:00
update
This commit is contained in:
parent
4dabbe8fd8
commit
4655f38720
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ document.addEventListener("DOMContentLoaded", function() {
|
|||
const overlay = document.querySelector('.modal-overlay')
|
||||
overlay.addEventListener('click', toggleSearchModal)
|
||||
|
||||
let closemodal = document.querySelector('.modal-close')
|
||||
let closemodal = document.querySelectorAll('.modal-close')
|
||||
// closemodal.addEventListener('click', toggleSearchModal)
|
||||
for (var i = 0; i < closemodal.length; i++) {
|
||||
closemodal[i].addEventListener('click', toggleSearchModal)
|
||||
|
|
Loading…
Reference in a new issue