diff options
author | nicolasdular <ndular@gitlab.com> | 2020-04-23 12:26:46 +0300 |
---|---|---|
committer | nicolasdular <ndular@gitlab.com> | 2020-04-23 13:14:16 +0300 |
commit | fb8ff28c96d32164d00e7e6aea70fcf0895e7ea9 (patch) | |
tree | 3b80ebd5bf4a76670bfc9b4b157bfdace2ad2cb4 /layouts/docsearch.html | |
parent | 9ce16b7b1231bdb90abbb65742a05a9aebf7fc71 (diff) |
Fix JS error for mobile doc search
Diffstat (limited to 'layouts/docsearch.html')
-rw-r--r-- | layouts/docsearch.html | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/layouts/docsearch.html b/layouts/docsearch.html index 9946b5c9..88dd752e 100644 --- a/layouts/docsearch.html +++ b/layouts/docsearch.html @@ -16,20 +16,4 @@ var search = docsearch({ 'autoselect': false } }); - -var mobileSearch = docsearch({ - apiKey: 'ce1690e1421303458a1fcbea0cc4a927', - indexName: 'gitlab', - inputSelector: '.docsearch-mobile', - algoliaOptions: { - // Filter by tags as described in https://github.com/algolia/docsearch-configs/blob/master/configs/gitlab.json - 'filters': "tags:gitlab<score=4> OR tags:omnibus<score=3> OR tags:runner<score=2> OR tags:charts<score=1>", - // Number of results shown in the search dropdown - 'hitsPerPage': 10 - }, - debug: false, // Set debug to true if you want to inspect the dropdown - autocompleteOptions: { - 'autoselect': false - } -}); </script> |