_includes/site-search.html in alembic-jekyll-theme-1.5.2 vs _includes/site-search.html in alembic-jekyll-theme-1.5.3
- old
+ new
@@ -45,10 +45,9 @@
}
const field = document.querySelector('#search');
const resultsList = document.querySelector('#list');
- field.addEventListener('change', displayResults);
field.addEventListener('keyup', displayResults);
field.addEventListener('keypress', function(event) {
if (event.keyCode == 13) {
event.preventDefault();