Skip to content
Snippets Groups Projects
Unverified Commit 5b8ff78b authored by Rob White's avatar Rob White Committed by GitHub
Browse files

Bug: Can now show single search result.

parent eaafeee6
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment