From 403e6acedb42aa6caa126f80b551b0ddc1b0a6e0 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Thu, 27 Nov 2025 11:50:49 +0100 Subject: [PATCH] instantsearch.js: Fix default version --- docs/js/instantsearch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/js/instantsearch.js b/docs/js/instantsearch.js index 8bf9d071f3..f54081060b 100644 --- a/docs/js/instantsearch.js +++ b/docs/js/instantsearch.js @@ -6,7 +6,7 @@ const parsed_search_page = parseInt(search_page); let version = doc.location.pathname.split('/')[2]; if (!/^\d+\.\d+$/.test(version) && version !== 'latest') { - version = 'master'; + version = 'latest'; } const hitsContainer = '#hits'; const statsContainer = '#stats';