Skip to content

Commit

Permalink
Merge pull request #967 from garrying/fix-search-input
Browse files Browse the repository at this point in the history
Fix search input and suggestions blur
  • Loading branch information
SharpRake authored Sep 1, 2023
2 parents a0099f4 + 425c85a commit 18bbab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Array.from(searchForms).forEach(container => {
}
if (e.key === 'Escape' ) {
search.blur();
search.classList.add('d-none');
suggestions.classList.add('d-none');
}
}

Expand Down

0 comments on commit 18bbab1

Please sign in to comment.