diff --git a/assets/js/just-the-docs.js b/assets/js/just-the-docs.js index 5299869..50e4e13 100644 --- a/assets/js/just-the-docs.js +++ b/assets/js/just-the-docs.js @@ -108,7 +108,7 @@ function initSearch() { } else { var results = index.search(query); - if (results.length > 1) { + if (results.length > 0) { searchResults.classList.add('active'); var resultsList = document.createElement('ul'); searchResults.appendChild(resultsList);