From 98a02e93da29bf4eff2c0eb4218ad6bee0c63096 Mon Sep 17 00:00:00 2001 From: dks333 Date: Tue, 20 May 2025 12:52:35 -0700 Subject: [PATCH] instead of opening a new page, open search in the current page --- support.mdx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/support.mdx b/support.mdx index 2a8afedd7..304b43a60 100644 --- a/support.mdx +++ b/support.mdx @@ -4,9 +4,16 @@ icon: "circle-help" description: "We're here to help you get the most out of Mintlify" --- - - Ask our AI chat assistant that's been trained on our documentation. - +export function openSearch(e) { + e.preventDefault(); + document.getElementById('search-bar-entry').click(); +} + +
+ + Ask our AI chat assistant that's been trained on our documentation. + +