Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornicolasdular <ndular@gitlab.com>2020-04-23 12:26:46 +0300
committernicolasdular <ndular@gitlab.com>2020-04-23 13:14:16 +0300
commitfb8ff28c96d32164d00e7e6aea70fcf0895e7ea9 (patch)
tree3b80ebd5bf4a76670bfc9b4b157bfdace2ad2cb4
parent9ce16b7b1231bdb90abbb65742a05a9aebf7fc71 (diff)
Fix JS error for mobile doc search
-rw-r--r--layouts/docsearch.html16
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>