diff --git a/assets/search.js b/assets/search.js index f520952..24f0c5d 100644 --- a/assets/search.js +++ b/assets/search.js @@ -18,11 +18,6 @@ function debouncer(interval, callback) { const results = form.querySelector('.live-results'); const resultPrototype = document.getElementById('search-result-prototype').firstChild; - form.addEventListener('submit', function (ev) { - ev.preventDefault(); - ev.stopPropagation(); - }); - function submit() { if (input.value === "") { results.classList.remove("show");