diff --git a/source/404.html b/source/404.html index d69f20e0d43..2be0d311b63 100644 --- a/source/404.html +++ b/source/404.html @@ -14,3 +14,18 @@ body_id: not_found + + + \ No newline at end of file diff --git a/source/_includes/javascripts/scripts.html b/source/_includes/javascripts/scripts.html index fdc6b001081..11175b4acd0 100644 --- a/source/_includes/javascripts/scripts.html +++ b/source/_includes/javascripts/scripts.html @@ -16,17 +16,7 @@ docsearch({ inputSelector: '#search', debug: false // Set debug to true if you want to inspect the dropdown }); -docsearch({ - apiKey: '{{ site.algolia.api_key }}', - indexName: 'home-assistant', - inputSelector: '#search404', - debug: false // Set debug to true if you want to inspect the dropdown -}); -document.querySelector('.search404-close').addEventListener('click', function(ev) { - ev.preventDefault(); - document.querySelector('#search404').value = ""; -}); document.querySelector('.search .close').addEventListener('click', function(ev) { ev.preventDefault(); document.querySelector('.search-container').style.display = 'none';