This commit is contained in:
Thomas Chartron 2021-11-07 12:23:49 +01:00
parent f7eebd94d4
commit bbc6f53942

View file

@ -49,7 +49,7 @@ function toggleModal () {
body.classList.toggle('modal-active')
if ([...body.classList].includes('modal-active')) {
window.setTimeout(function() {
document.getElementById('search-input').value('')
document.getElementById('search-input').value = ""
document.getElementById('search-input').focus()
}, 500);
}