diff --git a/static/js/search.js b/static/js/search.js index e017140..dd08f9b 100644 --- a/static/js/search.js +++ b/static/js/search.js @@ -50,7 +50,7 @@ function toggleModal () { if ([...body.classList].includes('modal-active')) { window.setTimeout(function() { document.getElementById('search-input').focus() - }, 0); + }, 500); } }