From 48c94838800f8bb1f336052eb82de234199ffc77 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Mon, 6 Feb 2023 23:30:43 -0600 Subject: [PATCH] Move version filter to search results --- src/js/vendor/docsearch.bundle.js | 4 ++++ src/partials/footer-scripts.hbs | 2 +- src/partials/toolbar.hbs | 3 --- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/js/vendor/docsearch.bundle.js b/src/js/vendor/docsearch.bundle.js index 4668211..2b16742 100644 --- a/src/js/vendor/docsearch.bundle.js +++ b/src/js/vendor/docsearch.bundle.js @@ -15,6 +15,7 @@ } var searchField = document.getElementById(config.searchFieldId || 'search') searchField.appendChild(Object.assign(document.createElement('div'), { className: 'algolia-autocomplete-results' })) + const pageVersion = config.pageVersion var controller = docsearch({ appId: config.appId, apiKey: config.apiKey, @@ -33,6 +34,9 @@ 'Page 1' + 'Prev' + 'Next' + + '' + '