From b7640d64080ba9ca5fc4c199724059469d6e27bd Mon Sep 17 00:00:00 2001 From: yfantse Date: Mon, 22 Jul 2024 16:18:47 +0300 Subject: [PATCH] test assigning docsearch to a variable --- src/js/vendor/search-algolia.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/vendor/search-algolia.js b/src/js/vendor/search-algolia.js index 42e58fe..a0bb6e3 100644 --- a/src/js/vendor/search-algolia.js +++ b/src/js/vendor/search-algolia.js @@ -5,7 +5,7 @@ window.antoraAlgolia = (function () { const indexName = scriptAttrs.indexName // eslint-disable-next-line no-undef - docsearch({ + var search = docsearch({ apiKey: apiKey, appId: apiId, indexName: indexName,