mirror of
https://github.com/tchartron/blow
synced 2024-11-23 21:03:16 +00:00
update
This commit is contained in:
parent
61db453fd9
commit
fe9ea29b5d
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ function toggleModal () {
|
|||
modal.classList.toggle('opacity-0')
|
||||
modal.classList.toggle('pointer-events-none')
|
||||
body.classList.toggle('modal-active')
|
||||
if ([...modal.classList].includes('modal-active')) {
|
||||
if ([...body.classList].includes('modal-active')) {
|
||||
document.getElementById('search-input').focus()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue